I am using the RadWindow as a dialog box for a complex form in a medical application. The RadWindow contains a RadTab control, and each tab has another part of the form. Additionally, in some areas, I need to display another RadWindow to get some details, then close that extra window and continue working with the original one. (I should also mention that this page auto-refreshes once a minute or so to keep the data on it current).
I don't want the dialog to show when the initial page is displayed, it needs to be launched when a button is clicked, It should then stay open until explicitly closed.
I am opening it using Javascript:
This works, but if anything at all causes a postback, the window goes away, and for some reason, I usually can't get it to come back without closing the browser and starting over again.
Using the "VisibleOnPageLoad" option works much better generally speaking, but like I said, I don't want it to always be open.
Do you have any sample code which is fairly bulletproof in regards to managing the show/hide state of the window(s)?
I don't want the dialog to show when the initial page is displayed, it needs to be launched when a button is clicked, It should then stay open until explicitly closed.
I am opening it using Javascript:
function
showWizard() {
var
oWnd = $find(
"<%= RadWindow1.ClientID %>"
);
oWnd.show();
}
This works, but if anything at all causes a postback, the window goes away, and for some reason, I usually can't get it to come back without closing the browser and starting over again.
Using the "VisibleOnPageLoad" option works much better generally speaking, but like I said, I don't want it to always be open.
Do you have any sample code which is fairly bulletproof in regards to managing the show/hide state of the window(s)?
VisibleOnPageLoad
VisibleOnPageLoad