Please try to set the SetVisible as true/false to change the visibility of RadWindow in OnClientClose event as follows.
JavaScript:
functionChangeVisibility(sender, args) {
sender.SetVisible(true);
}
Thanks,
Shinu.
0
Joana
Telerik team
answered on 02 May 2014, 09:20 AM
Hi,
If you do not cancel the OnClientBeforeClose event, the RadWindow will hide when it is closed, i.e., when the OnClientClose event fires, so further code should not be needed.
If you want to toggle its server-side Visible property, you would need to initiate a (partial) postback to do so (because the page will need to travel to the server), but I do not see a reason why this would be needed. The cost of the postback would be higher than having a control at the ready whose scripts, stylesheets and client-side object are already loaded and cost nothing to maintain.
Regards,
Joana
Telerik
Check out the Telerik Platform - the only platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native mobile apps.