I have a page that can be opened in either a RadWindow or a normal browser window. Is there a way to tell from within the page at server-side which window is opening the page? Or do I have to inject something from the calling page, like a URL parameter "OpenedInRadWindow=True/False"?
1 Answer, 1 is accepted
0
Georgi Tunev
Telerik team
answered on 09 Jan 2009, 01:48 PM
Hello dingjing,
I think using the query string will be the easiest way. There is a way to check if a page is loaded in RadWindow or not by using the GetRadWindow() function (if the returned object is not null, then the page is in RadWindow), but this check is on the client only. To have it on the server, you will need to post it somehow - for example with __doPostback() or Ajax request.
Greetings,
Georgi Tunev
the Telerik team
Check out Telerik Trainer, the state of the art learning tool for Telerik products.