I Have a webpage suppose ParentPage.aspx which contains a iframe. Under iframe i am calling another webpage Childpage.aspx . Now i want to access ParentPage controls from ChildPage and change the property of that control.
Can any one suggest me how it is possible ?
Below i am writing a code which i am trying. In this code Page.PreviousPage is always null .
if (Page.PreviousPage != null)
AjaxControlToolkit.TabPanel objTab = (AjaxControlToolkit.TabPanel)Page.PreviousPage.FindControl("pnlDataElement");
if (objTab != null)
objTab.Enabled = true;
View Complete Post