DataGrid in USerControl --> Paging problem

Posted by grady on Stack Overflow See other posts from Stack Overflow or by grady
Published on 2010-05-05T12:24:03Z Indexed on 2010/05/05 12:28 UTC
Read the original article Hit count: 292

Filed under:
|
|
|

Hi, I have a DataGrid in a USerControl. Somehow the paging doesnt work, the paging has the right amount of pages, but clicking the numbers does not work ... it stays on page 1. This is my Grid:

<asp:DataGrid ID="DG_Grid" runat="server" AllowPaging="True" PageSize="10" EnableViewState="True"
            AllowSorting="False" DataKeyField="DUEDATE" OnItemDataBound="DG_Grid_ItemDataBound" OnItemCommand="DG_Grid_ItemCommand">

Ideas anyone?

© Stack Overflow or respective owner

Related posts about ASP.NET

Related posts about c#