Connecting Tech Pros Worldwide Help | Site Map

Project using ASP.Net and C#

Member
 
Join Date: Feb 2008
Posts: 75
#1: 2 Weeks Ago
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
Needs Regular Fix
 
Join Date: Dec 2006
Location: chennai
Posts: 270
#2: 2 Weeks Ago

re: Project using ASP.Net and C#


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.
PRR PRR is offline
Moderator
 
Join Date: Dec 2007
Location: India
Posts: 699
#3: 2 Weeks Ago

re: Project using ASP.Net and C#


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
Reply