Hi gurus,
I am trying to find Controls of Specific Page.
For eg : i have 2 pages : default1.aspx, default2.aspx
when i click on button in default1.aspx, a window will be opened. In the default2.aspx page. i am trying to find a control in default1.aspx page.
i have tried the following:
TextBox SourceTextBox =
(TextBox)Page.PreviousPage.FindControl("TextBox1");
if (SourceTextBox != null)
{
Label1.Text = SourceTextBox.Text;
}but here SourceTextBox variable is always null. any help.Note : i am not using response.redirect for page transfer. i am opening a window through javascript.Please help me on this.Thanks in Advance.
Go to the complete details ...