Hi All,
I have a Probelm.
On my ASPX Site I have an
RadAjaxManager
RadAjaxLoadingPanel
But this script only fired if I remove the radajaxmanager.
What's wrong here?
And second. Is there a good example on how I use the ajaxmanger in combination with master and contentpages.
Thanks for help.
I have a Probelm.
On my ASPX Site I have an
RadAjaxManager
RadAjaxLoadingPanel
<telerik:RadAjaxLoadingPanel |
ID="RadAjaxLoadingPanel1" |
BackgroundPosition="Top" |
runat="server" |
IsSticky="true" |
Skin="Office2007" /> |
<telerik:RadAjaxManager ID="RadAjaxManager1" runat="server"> |
<ajaxsettings> |
<telerik:AjaxSetting AjaxControlID="FormView1"> |
<updatedcontrols> |
<telerik:AjaxUpdatedControl |
ControlID="FormView1" |
LoadingPanelID="RadAjaxLoadingPanel1" /> |
</updatedcontrols> |
</telerik:AjaxSetting> |
</ajaxsettings> |
</telerik:RadAjaxManager> |
In the code behind I register some javascripts by setting RegisterStartupScript
protected void FormView1_ItemCommand(object sender, FormViewCommandEventArgs e) |
{ |
switch (e.CommandName) |
{ |
case "Cancel": |
//ClientScript.RegisterStartupScript(Page.GetType(), "mykey", "CancelEdit();", true); |
Page.ClientScript.RegisterStartupScript(this.GetType(), "alertScript", "alert('test');", true); |
break; |
case "Update": |
ClientScript.RegisterStartupScript(Page.GetType(), "mykey", "CloseAndRebind();", true); |
break; |
case "Insert": |
ClientScript.RegisterStartupScript(Page.GetType(), "mykey", "CloseAndRebind('navigateToInserted');", true); |
break; |
} |
} |
But this script only fired if I remove the radajaxmanager.
What's wrong here?
And second. Is there a good example on how I use the ajaxmanger in combination with master and contentpages.
Thanks for help.