I have several pages with grids on them, with a RadWindow used to either edit grid items or add new ones. Everything worked great for a couple years, but I seem to be having an issue now that I'm using a newer version (2011.2.712.35) of the Telerik.Web.UI DLL.
After the first time you close the window, the grid refreshes properly. After that, opening the window and closing it a second time fails to refresh the grid.
I'm calling the refresh by setting OnClientClose on the window:
Then the javascript:
And finally the code-behind:
After the first time you close the window, the grid refreshes properly. After that, opening the window and closing it a second time fails to refresh the grid.
I'm calling the refresh by setting OnClientClose on the window:
<telerik:RadWindow ID="EditAlias" runat="server" Title="Edit Client/Payer Alias" VisibleStatusbar="false" ReloadOnShow="true" Modal="true" Behaviors="Close" Animation="Slide" OnClientClose="OnClientClose" />Then the javascript:
function OnClientClose(sender, eventArgs){ $find("<%= RadAjaxManager1.ClientID %>").ajaxRequest("Rebind");}And finally the code-behind:
protected void RadAjaxManager1_AjaxRequest(object sender, AjaxRequestEventArgs e) { if (e.Argument == "Rebind") { radGrdPayerAlias.Rebind(); } }