Ok, here is my noob question :-)
I have a footer usercontrol (ascx). This footer control launch server side a radwindow (that is another aspx page).
Here is my code:
As you can see in order to do that I have to put the radwindowmanager inside the usercontrol.
I'm worried about this, because I think that the radwindowmanager should stay in the parent aspx page who contains the control.
What is the best way to do that? i'm doing something wrong?
Thanks a lot
I have a footer usercontrol (ascx). This footer control launch server side a radwindow (that is another aspx page).
Here is my code:
RadWindow newWindow = new Telerik.Web.UI.RadWindow();
newWindow.ID = "HelpDeskMessageWindow";
newWindow.NavigateUrl = "ErrorPopup.aspx";
newWindow.AutoSize = true;
newWindow.Modal = true;
RadWindowManager1.Windows.Add(newWindow);
newWindow.VisibleOnPageLoad = true;
As you can see in order to do that I have to put the radwindowmanager inside the usercontrol.
I'm worried about this, because I think that the radwindowmanager should stay in the parent aspx page who contains the control.
What is the best way to do that? i'm doing something wrong?
Thanks a lot