Hello,
I need some help for showing and closing a RadWindow server-side without any postbacks.
The RadWindow is always added to the page (CreateChildControls):
It should open in the click event handler of a RadRibbonBar;
Currently, the RadWindow only contains a simple button which should close the RadWindow:
Note: The code which is executed when the RadRibbon bar's click event is handled is also executed after a postback (I save to the viewstate if I have to reopen the RadWindow).
My problem is: the RadWindow opens correctly, but clicking the close button does the first time I click nothing and the second time I click a full page reload. How do I have to open the RadWindow (and keep it open after a postback) and how do I close it without a complete page reload?
Thanks for your help!
Edit: Executing the javascript only when the RadWindow is opened from the click event (and not from another postback) resolves the problem that I have to click twice to close it. But closing still does a full page reload.