Dear Telerik Team !
I ran into trouble with your grid. Firstly I will explain the required scenario.
I've got master page - it contains page toolbar. I've got content page - it must contain grid. This grid will use custom pager logic: I will use OnNeedDataSource and get required records from DB myself. Grid displays first page, but after clicking random page - I can see only empty grid. Having played around for a while I discovered that after post back OnNeedDataSource event does not fire. Could you please help me - it's an urgent task and I still can't figure out what is wrong. I have to add that if I use the same code withour master/content pages everything works as expected.
Here is the grid:
<telerik:RadGrid ID="m_grid" runat="server" Skin="Black" AllowSorting="false" AllowPaging="True"
PageSize="30" AllowCustomPaging="true" OnNeedDataSource="RadGrid1_NeedDataSource">
<PagerStyle Mode="NumericPages" />
<ClientSettings>
<Resizing AllowColumnResize="true" AllowRowResize="false" />
<Scrolling AllowScroll="True" EnableVirtualScrollPaging="True" UseStaticHeaders="true" SaveScrollPosition="True" />
<Selecting AllowRowSelect="true" />
</ClientSettings>
</telerik:RadGrid>
OnNeedDataSource handler is very simple the problem page does not call it.
Looking forward to hearing from you asap.
I ran into trouble with your grid. Firstly I will explain the required scenario.
I've got master page - it contains page toolbar. I've got content page - it must contain grid. This grid will use custom pager logic: I will use OnNeedDataSource and get required records from DB myself. Grid displays first page, but after clicking random page - I can see only empty grid. Having played around for a while I discovered that after post back OnNeedDataSource event does not fire. Could you please help me - it's an urgent task and I still can't figure out what is wrong. I have to add that if I use the same code withour master/content pages everything works as expected.
Here is the grid:
<telerik:RadGrid ID="m_grid" runat="server" Skin="Black" AllowSorting="false" AllowPaging="True"
PageSize="30" AllowCustomPaging="true" OnNeedDataSource="RadGrid1_NeedDataSource">
<PagerStyle Mode="NumericPages" />
<ClientSettings>
<Resizing AllowColumnResize="true" AllowRowResize="false" />
<Scrolling AllowScroll="True" EnableVirtualScrollPaging="True" UseStaticHeaders="true" SaveScrollPosition="True" />
<Selecting AllowRowSelect="true" />
</ClientSettings>
</telerik:RadGrid>
OnNeedDataSource handler is very simple the problem page does not call it.
Looking forward to hearing from you asap.