I have a page that is built from a master page. This master page has the RadWindow instance in it. This is a login/registration page. On the code behind, I process that data and then need to have the main page redirect to the item that the user was loging in or registering for.
I try to access the page that is built from the master page that has the RadWindow in it by the following code:
This is similiar to the injection for closing the window, but the difference is that I need to inject in the main page, not the popup window.
Has anyone every tried to access a control from the pop up window in the main or parent window? If so can you please explain or show the code snippet to do this?
Thanks,
Patrick
I try to access the page that is built from the master page that has the RadWindow in it by the following code:
This is similiar to the injection for closing the window, but the difference is that I need to inject in the main page, not the popup window.
| RadWindow rwdRegistration = (RadWindow)Page.Parent.Page.Master.FindControl("RadWindow1"); |
| Label lblInjectRedirect = (Label)rwdRegistration.Parent.FindControl("lblInjectRedirect"); |
Has anyone every tried to access a control from the pop up window in the main or parent window? If so can you please explain or show the code snippet to do this?
Thanks,
Patrick