Project using ASP.Net and C#

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • sajitk
    New Member
    • Feb 2008
    • 77

    Project using ASP.Net and C#

    Dear All,

    I am creating an application using ASP.Net and C#.

    The situation is, I have a radio button (which has 'Yes' and 'No' option) on Form 1. If i click on the Yes, it takes me Form 2, where the relevant information is filled. On Form 2, there is a command button, which when clicked, takes me back to Form 1.

    The problem is that when the command button is clicked on Form 2, the data on Form 1 disappears. What do i write on the ISPOSTBACK to check this....

    Wud be great if you could help me on this...

    Sajit
  • karthi84
    Contributor
    • Dec 2006
    • 270

    #2
    can you be a little more clear on "it takes me to Form2"? wether it navigates to form2 or opens a popup. if it navigates then u need to store the data on some session variables and fill them when you are back. if you use pop up then u need to stop the parent reload from the client.

    Comment

    • PRR
      Recognized Expert Contributor
      • Dec 2007
      • 750

      #3
      I would suggest if a "unit" of work to be done, do it in one page using either:
      Wizard control or
      Multiview control
      You can also look into session variables,cache or look into previouspage

      Comment

      Working...