Hi,
I am using Master/Content pages and put a RadAjaxManager in the masterpage and the RadAjaxManagerProxy in the content page.
In the contentpage is a RadGrid. I use RadWindow to edit a line in the RadGrid. After closing the RadWindow the RadGrid needs to refresh. Formely, when I didn't have the RadAjaxManager in the masterpage, but a RadAjaxManager in the contentpage, I could rebind the RadGrid using the following script
How do I proceed to get the same result with the use of the RadAjaxManagerProxy? I know I have to implement RadAjaxManager.GetCurrent(Page) somewhere, but I'm at a loss how to do this.
Regards,
Roel
I am using Master/Content pages and put a RadAjaxManager in the masterpage and the RadAjaxManagerProxy in the content page.
In the contentpage is a RadGrid. I use RadWindow to edit a line in the RadGrid. After closing the RadWindow the RadGrid needs to refresh. Formely, when I didn't have the RadAjaxManager in the masterpage, but a RadAjaxManager in the contentpage, I could rebind the RadGrid using the following script
function refreshGrid()
{
var ajaxManager = $find("<%= RadAjaxManager1.ClientID %>");
ajaxManager.AjaxRequest();
}
Protected Sub RadAjaxManager1_AjaxRequest( _
ByVal sender As Object, _
ByVal e As Telerik.Web.UI.AjaxRequestEventArgs) _
Handles RadAjaxManager1.AjaxRequest
Me.gridItems.Rebind()
End Sub
How do I proceed to get the same result with the use of the RadAjaxManagerProxy? I know I have to implement RadAjaxManager.GetCurrent(Page) somewhere, but I'm at a loss how to do this.
Regards,
Roel