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. Maintaining State of Web Form

Maintaining State of Web Form

Scheduled Pinned Locked Moved ASP.NET
4 Posts 2 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.
  • G Offline
    G Offline
    Gamzun
    wrote on last edited by
    #1

    I want to maintain state of web form (i.e; not to lose any user input values of textboxes,checkboxes etc) without using session,querystring etc. The reason i don't wanna use the above mentioned method is that i've got so many pages and it would be a tedious task to do. Hope to have a better solution for this.

    D 1 Reply Last reply
    0
    • G Gamzun

      I want to maintain state of web form (i.e; not to lose any user input values of textboxes,checkboxes etc) without using session,querystring etc. The reason i don't wanna use the above mentioned method is that i've got so many pages and it would be a tedious task to do. Hope to have a better solution for this.

      D Offline
      D Offline
      DotNetXenon
      wrote on last edited by
      #2

      You can enable the ViewState

      ------------------------------------------------------------ "The only true wisdom is in knowing you know nothing." --Socrates

      G 1 Reply Last reply
      0
      • D DotNetXenon

        You can enable the ViewState

        ------------------------------------------------------------ "The only true wisdom is in knowing you know nothing." --Socrates

        G Offline
        G Offline
        Gamzun
        wrote on last edited by
        #3

        well the thing is across web pages i wanna do that

        D 1 Reply Last reply
        0
        • G Gamzun

          well the thing is across web pages i wanna do that

          D Offline
          D Offline
          DotNetXenon
          wrote on last edited by
          #4

          We can have classes which will hold values. You will be able to access it across the pages.

          ------------------------------------------------------------ "The only true wisdom is in knowing you know nothing." --Socrates

          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