Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. Web Development
  3. ASP.NET
  4. use view state

use view state

Scheduled Pinned Locked Moved ASP.NET
questioncsharpasp-net
3 Posts 3 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • V Offline
    V Offline
    vipinpaliwal1980
    wrote on last edited by
    #1

    hi all, 1. i am want to know what is viewstate in asp.net. 2. how can i use viewstate 3. how much data take in viewstate vipin paliwal

    G M 2 Replies Last reply
    0
    • V vipinpaliwal1980

      hi all, 1. i am want to know what is viewstate in asp.net. 2. how can i use viewstate 3. how much data take in viewstate vipin paliwal

      G Offline
      G Offline
      gyokusei
      wrote on last edited by
      #2

      vipinpaliwal1980 wrote:

      1. i am want to know what is viewstate in asp.net.

      ViewState is an object use for save the state of server controls in webpage.

      vipinpaliwal1980 wrote:

      2. how can i use viewstate

      http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpref/html/frlrfsystemwebuicontrolclassviewstatetopic.asp

      vipinpaliwal1980 wrote:

      3. how much data take in viewstate

      I don't know exactly

      1 Reply Last reply
      0
      • V vipinpaliwal1980

        hi all, 1. i am want to know what is viewstate in asp.net. 2. how can i use viewstate 3. how much data take in viewstate vipin paliwal

        M Offline
        M Offline
        minhpc_bk
        wrote on last edited by
        #3

        You can read more about the ASP.NET View State[^] in MSDN. Since the ViewState uses the hidden field to save data at the client side, so IMO the size limit of the ViewState should rely on the size of the hidden field, and you should not abuse the ViewState to contain a huge amount of data. For more information, you can see ASP.NET State Management Recommendations [^]

        1 Reply Last reply
        0
        Reply
        • Reply as topic
        Log in to reply
        • Oldest to Newest
        • Newest to Oldest
        • Most Votes


        • Login

        • Don't have an account? Register

        • Login or register to search.
        • First post
          Last post
        0
        • Categories
        • Recent
        • Tags
        • Popular
        • World
        • Users
        • Groups