Question: How can I determine at the server side, if the page is being rendered in
a radWindow?
Background: I have a Master page with toolbar buttons. The child page is loaded in an iframe. The user can click a toolbar button which posts a message to the parent window where another child page is loaded in a radwindow.
Because all of these child pages can appear in the IFrame, they need the toolbar buttons that load other reference pages in a radwindow, but I don't want to provide this option if the page itself has been loaded in a radWindow.
Example:
The site has Pages A, B, and C. Each page dynamically tells the parent the toolbar buttons available based on the state of the data, user permission, etc. When viewing page A, users need the ability to quickly reference pages B and C. When viewing Page B, users need the ability to quickly reference pages A and C, and so on.
When a page is displayed in this dialog, I'd like to be able to remove the popup toolbar buttons so that the modal window cannot open up additional windows.
Background: I have a Master page with toolbar buttons. The child page is loaded in an iframe. The user can click a toolbar button which posts a message to the parent window where another child page is loaded in a radwindow.
Because all of these child pages can appear in the IFrame, they need the toolbar buttons that load other reference pages in a radwindow, but I don't want to provide this option if the page itself has been loaded in a radWindow.
Example:
The site has Pages A, B, and C. Each page dynamically tells the parent the toolbar buttons available based on the state of the data, user permission, etc. When viewing page A, users need the ability to quickly reference pages B and C. When viewing Page B, users need the ability to quickly reference pages A and C, and so on.
When a page is displayed in this dialog, I'd like to be able to remove the popup toolbar buttons so that the modal window cannot open up additional windows.