I have a form which collects part of the data and posts this to another page. The other page completes data collection and sends it to the database.
I have used Page.PreviousPage.FindControl to get the members of the first page. The second page has some controls which autopostback. Thus, when those controls are accessed, the previous page is lost and I get a null error message.
MM92
Member
2 Points
2 Posts
PreviousPage with Autopostback
Mar 01, 2012 01:00 PM|LINK
Hi,
I have a form which collects part of the data and posts this to another page. The other page completes data collection and sends it to the database.
I have used Page.PreviousPage.FindControl to get the members of the first page. The second page has some controls which autopostback. Thus, when those controls are accessed, the previous page is lost and I get a null error message.
What can I do in this case? I am using C#