Hi To everyone,
I am developing a radWindow with a new Page that contains a RadMenu and I want to close it server side with a Button of the RadMenu.
If I use a Full Postback (without using the RadAjaxManager) it works, but when I put the control into the RadAjaxManager the window remains open.
Working Example:
[Javascript]
[RadAjaxManager Empty]
[Server Side]
NB. All the controls is contained in a Panel named "pnlFull".
If I put the panelFull Events in the RadAjaxManager Control, the window will not disappear after the Click on the RadMenu.
Eg.:
Someone can help me????
I am developing a radWindow with a new Page that contains a RadMenu and I want to close it server side with a Button of the RadMenu.
If I use a Full Postback (without using the RadAjaxManager) it works, but when I put the control into the RadAjaxManager the window remains open.
Working Example:
[Javascript]
function GetRadWindow() { var oWindow = null; if (window.radWindow) oWindow = window.radWindow; //Will work in Moz in all cases, including clasic dialog else if (window.frameElement.radWindow) oWindow = window.frameElement.radWindow; //IE (and Moz az well) return oWindow; }<telerik:RadAjaxManagerProxy runat="server" ID="RadAjaxManagerProxy1"> <AjaxSettings> </AjaxSettings> </telerik:RadAjaxManagerProxy>[Server Side]
lblClose.Text = "<script type='text/javascript'>GetRadWindow().Close()</script>";NB. All the controls is contained in a Panel named "pnlFull".
If I put the panelFull Events in the RadAjaxManager Control, the window will not disappear after the Click on the RadMenu.
Eg.:
<telerik:RadAjaxManagerProxy runat="server" ID="RadAjaxManagerProxy2"> <AjaxSettings> <telerik:AjaxSetting AjaxControlID="pnlFull"> <UpdatedControls> <telerik:AjaxUpdatedControl ControlID="pnlFull" LoadingPanelID="MasterLoadingPanelBig" /> </UpdatedControls> </telerik:AjaxSetting> </AjaxSettings> </telerik:RadAjaxManagerProxy>Someone can help me????