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

Problem with paging in Web Content Form

2 Answers 33 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Auke Wilstra
Top achievements
Rank 1
Auke Wilstra asked on 16 Oct 2010, 03:21 PM
Hello,

I have a problem with paging in a Web Content Form.
The problem is that when you click on next page or you click on a number or you select page size, you see on the bottom left that it's loading but the grid is not changing.

In the project there is a MasterPage. There is nothing in there except a RadScriptManager.
<head runat="server">
    <title></title>
    <asp:ContentPlaceHolder ID="cphHead" runat="server">
    </asp:ContentPlaceHolder>
</head>
<body>
    <form id="form1" runat="server" style="width: 980px;">
    <telerik:RadScriptManager ID="RadScriptManager1" runat="server" />
    <div>
        <asp:ContentPlaceHolder ID="cphContext" runat="server">
        </asp:ContentPlaceHolder>
    </div>
    </form>
</body>

Then I have a Web Content Form that uses the MasterPage.
In the Web Content Form there is a UpdatePanel and in the UpdatePanel there is a RadGrid.

On the grid there is a filter on each column and a groupheader. Those 2 work fine.
I tried using a basic grid with non of the fancy things but that didn't work.

Then I take the whole content of the Web Content Form and put it in a Web Form, not using the MasterPage, then paging works just fine.

Any ideas guys?

Regards,

Auke

2 Answers, 1 is accepted

Sort by
0
Accepted
Martin
Telerik team
answered on 21 Oct 2010, 12:11 PM
Hello Auke Wilstra,

I have tried to reproduce the issue locally, but without success. Attached to this message is a small sample that runs as expected to my side. Please give it a try and let me know how it goes.

Regards,
Martin
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
0
Auke Wilstra
Top achievements
Rank 1
answered on 21 Oct 2010, 12:39 PM
Martin,

thanks for your reply.
I looked at the sample and changed some things on my side:
  • Compared the web.config and added some httpHandlers.
  • Used the event NeedDataSource.

After I did those 2 things, the paging works!
I think something went wrong in the web.config.

Many thanks for the sample, it realy helped me out.

Auke

Tags
Grid
Asked by
Auke Wilstra
Top achievements
Rank 1
Answers by
Martin
Telerik team
Auke Wilstra
Top achievements
Rank 1
Share this question
or