Hi,
I am trying to use a built in paging functionality to set up a Data Grid.
I set parameters as follows.
<asp:datagrid id="myDataGrid" runat="server" Border="0" width="100%" CssClass="DataGrid" AutoGenerateColumns="false" AllowSorting="True" onsortcommand="OnClick_Sort" Allowpaging="true" PageSize="5" PagerStyle-Mode="NumericPages" PagerStyle-Visible="True" PagerStyle-Position="TopAndBottom" OnPageIndexChanged= "DataGrid_PageChanger" PagerStyle-HorizontalAlign = "Right">
I have more than 5 records in the database. It displays records depending on the value set to PageSize parameter.
However it doesn't display links to next and previous pages.
Is anything wrong in the parameter setting?
Waiting for reply.
Thanks.
Regards
Desi2002
I am trying to use a built in paging functionality to set up a Data Grid.
I set parameters as follows.
<asp:datagrid id="myDataGrid" runat="server" Border="0" width="100%" CssClass="DataGrid" AutoGenerateColumns="false" AllowSorting="True" onsortcommand="OnClick_Sort" Allowpaging="true" PageSize="5" PagerStyle-Mode="NumericPages" PagerStyle-Visible="True" PagerStyle-Position="TopAndBottom" OnPageIndexChanged= "DataGrid_PageChanger" PagerStyle-HorizontalAlign = "Right">
I have more than 5 records in the database. It displays records depending on the value set to PageSize parameter.
However it doesn't display links to next and previous pages.
Is anything wrong in the parameter setting?
Waiting for reply.
Thanks.
Regards
Desi2002