This is a migrated thread and some comments may be shown as answers.

Grid's pager does not work within master/content page

1 Answer 16 Views
Grid
This is a migrated thread and some comments may be shown as answers.
John
Top achievements
Rank 1
John asked on 04 Nov 2010, 01:17 AM
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.

1 Answer, 1 is accepted

Sort by
0
Marin
Telerik team
answered on 04 Nov 2010, 04:53 PM
Hi John,

Please avoid posting duplicate threads, this way it is harder to keep track of the issues and provide better assistance. If you do not mind, let's continue the communication in the other thread you have posted.

Greetings,
Marin
the Telerik team
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
Tags
Grid
Asked by
John
Top achievements
Rank 1
Answers by
Marin
Telerik team
Share this question
or