I have an application using a MasterPage with content pages and user controls. Inside one of the user controls we have another user control (I know, it's an Inception kind of thing). This user control spawns a RadWindow. Everything works fine: the window shows some RadGrids populated with fields from the DB, then I close the window. All of this is being done with RadWindow1.VisibleOnPageLoad in some kind of server-side event. After closing the window, I have no way of setting RadWindow1.VisibleOnPageLoad = false; so when I click on another control that fires an AJAX event (which in this case shows a different RadWindow) the RadWindow from before pops back up. In other parts of our application we've passed arguments to the server through the OnClientClose method of the RadWindow and also by calling the OnAjaxRequest event of the RadAjaxManager. This fires a server side event and I can set the property, but I'm using a RadAjaxManagerProxy, which doesn't support this event.
I've come up with some options for this:
- Set VisibleOnPageLoad on the client side, which I can't find anywhere on any forums or documentation.
- Pass some kind of different event to the server so I can set the property.
Or maybe there's something completely different that I'm not aware of or haven't thought of. I'm open to any options.
I've come up with some options for this:
- Set VisibleOnPageLoad on the client side, which I can't find anywhere on any forums or documentation.
- Pass some kind of different event to the server so I can set the property.
Or maybe there's something completely different that I'm not aware of or haven't thought of. I'm open to any options.