PreviousPage object in ASP.NET Whidbey
Along with my previous post about the PostBackUrl property, there is now a PreviousPage object in ASP.NET Whidbey. To get back values from the controls, you will need to do something like this:
//textbox is my example.
string ValueFromTextBox;
TextBox mytb = ((TextBox)PreviousPage.FindControl("TextBoxControlNameGoesHere"));
if ( mytb != null )
{
ValueFromTextBox = mytb.Text;
}
//Note: I did not check my code in the VS.NET Whidbey IDE before I posted it.