I've tried it all as per the forums and demos but,..?? I just can't get the RadAjaxManager's AjaxRequest ex the RadWindow's onclientclose event to fire.
Any ideas, have i missed something dumb??
Telerik version is 2009.1
I have
<
telerik:RadAjaxManager ID="RadAjaxManager1" runat="server"
onajaxrequest="RadAjaxManager1_AjaxRequest"
Style="position: relative"
DefaultLoadingPanelID="RadAjaxLoadingPanel1">
<AjaxSettings>
<telerik:AjaxSetting AjaxControlID="RadAjaxManager1">
<UpdatedControls>
<telerik:AjaxUpdatedControl ControlID="aspNavPanel" />
</UpdatedControls>
</telerik:AjaxSetting>
</AjaxSettings>
</telerik:RadAjaxManager>
The aspNavPanel (the updated control) is an ASP panel inside a radsplitter which wraps my Navigation RadPane and it's dbound radmenu.
The javascript is ( within the Body of the form.)
<telerik:RadCodeBlock ID="radcodeblock1" runat="server">
<script language="javascript" type="text/javascript">
function OnClientClose()
{
$find(
"<%=RadAjaxManager1.ClientID%>").ajaxRequest();
} ;
function Login()
{
if (<%= Show %> == true)
{
var urlExtn = "ms=" + new Date().getTime();
var oWnd = radopen("Forms/Auth/Login.aspx?" + urlExtn , "Login");
oWnd.add_close(OnClientClose);
}
};
</script>
</telerik:RadCodeBlock>
i have tried this as well
<telerik:RadWindowManager
ID="RadWindowManager1"
runat="server" >
<Windows>
<telerik:RadWindow
ID="Login"
runat="server"
Width="600px" Height="245px" Top="250" Left="400" BackColor="lightgray"
Modal="true"
KeepInScreenBounds="true"
Overlay="true"
OnClientClose="OnClientClose">
</telerik:RadWindow>
</Windows>
</telerik:RadWindowManager>
and .cs is
protected void RadAjaxManager1_AjaxRequest(object sender, AjaxRequestEventArgs e)
{
BindMenu();
}
TIA
Neal