Hey Guys,
Is there any problem in the following code:
TextBox test = (TextBox)Page.PreviousPage.FindControl("search");
if (PreviousPage != null)
{
if (PreviousPage.IsCrossPagePostBack == true)
{
Label1.Text = test.Text;
}
}
else
{
Label1.Text = "Not a cross-page post.";
}