Hi,
I am trying to subclass RadGrid control as follows :
public class TestGridView : RadGrid
{
}
In Oninit function of the class I have added:
RadAjaxManager1 = RadAjaxManager.GetCurrent(this.Page);
And onLoad function of the class I have added
if (RadAjaxManager1 != null)
{
RadAjaxManager1.AjaxSettings.AddAjaxSetting(this, this);
}
I compile this into dll and use it in my web project.
I do have a master page whereby i have added above contentholder:
<asp:ScriptManager runat="server" ID="ScriptManage1"></asp:ScriptManager>
<telerik:RadAjaxManager ID="RadAjaxManager1" runat="server" EnableAJAX="true">
</telerik:RadAjaxManager>
The problem is the Grid is not getting updated on paging or sorting..nothing works
But if i use asp.net update panel it gets updated with few bugs though.
Please if anyone can give me best example of sub classing RadGrid with RadAjaxManager working with complete sorting and paging..
Thanks.
I am trying to subclass RadGrid control as follows :
public class TestGridView : RadGrid
{
}
In Oninit function of the class I have added:
RadAjaxManager1 = RadAjaxManager.GetCurrent(this.Page);
And onLoad function of the class I have added
if (RadAjaxManager1 != null)
{
RadAjaxManager1.AjaxSettings.AddAjaxSetting(this, this);
}
I compile this into dll and use it in my web project.
I do have a master page whereby i have added above contentholder:
<asp:ScriptManager runat="server" ID="ScriptManage1"></asp:ScriptManager>
<telerik:RadAjaxManager ID="RadAjaxManager1" runat="server" EnableAJAX="true">
</telerik:RadAjaxManager>
The problem is the Grid is not getting updated on paging or sorting..nothing works
But if i use asp.net update panel it gets updated with few bugs though.
Please if anyone can give me best example of sub classing RadGrid with RadAjaxManager working with complete sorting and paging..
Thanks.