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. How to preserve values in a web page

How to preserve values in a web page

Scheduled Pinned Locked Moved ASP.NET
csharpasp-nethelptutorial
2 Posts 2 Posters 1 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.
  • R Offline
    R Offline
    ravindradonkada
    wrote on last edited by
    #1

    Hi, I am Ravindra ,currently doing a project in asp.net. I was given a task of "registration form for new users in a matrimonal site". In the Regform there is dropdownlist in which when we select OTHER , the Regform.aspx is redirected to Subcaste.aspx there the user enters the values and presses submit button the page is again redirected to Regform.aspx. My problem is the values which are previously entered by the user in RegForm are getting cleared. So, please say how to preserve the values. thanks in advance... -Ravindra

    _ 1 Reply Last reply
    0
    • R ravindradonkada

      Hi, I am Ravindra ,currently doing a project in asp.net. I was given a task of "registration form for new users in a matrimonal site". In the Regform there is dropdownlist in which when we select OTHER , the Regform.aspx is redirected to Subcaste.aspx there the user enters the values and presses submit button the page is again redirected to Regform.aspx. My problem is the values which are previously entered by the user in RegForm are getting cleared. So, please say how to preserve the values. thanks in advance... -Ravindra

      _ Offline
      _ Offline
      _AK_
      wrote on last edited by
      #2

      you can use sessions or querystring to store the values and again set the values to the dropdownlist.

      Best Regards, Apurva Kaushal

      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