I have a control in a master page that I want to display only when the master page is not in a RadWindow; when in a RadWindow, it should be hidden. Is that possible to do, to detect when the page request is inside the RadWindow?
Thanks.
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Try to use Firefox’s Firebug’s Net tab or Fiddler to review the http requests being made when you open a page in the RadWindow.
Just monitor requests on this RadWindow demo
http://demos.telerik.com/aspnet-ajax/controls/examples/integration/gridandwindow/defaultcs.aspx?product=window
Telerik passes rwndrnd to the page that’s being opened in the RadWindow
http://demos.telerik.com/aspnet-ajax/controls/examples/integration/gridandwindow/editformcs.aspx?EmployeeID=1&rwndrnd=0.8749773452267927
If that querystring is present, that could serve you as an indicator of it being opened in RadWindow.
Hope this helps. From past experience working with telerik’s stuff, it was an exercise in finding and using hacks like this all the time to get anything done.