I want my page to respond differently when it has been loaded in a RadWindow. How do I test Server side (e.g. Page_Load event) if the page is opened in a RadWindow?
2 Answers, 1 is accepted
answered on 22 Apr 2008, 10:57 AM
I don't think that there is a specific way to find out whether or not your page is in a RadWindow from server code. What you can do is open the page with a specific querystring parameter when it is in a RadWindow and check for that in the Page_Load event. For example, set the URL for your window to "\yourPath\yourPage.aspx?isRadWindow=true". Here is how you can check for the parameter: