K
Kiki
I'd like to display a "Page {x} of {y}" in the GridControl PagerArea
like
described in the MSDN-Library. It says that you should use
PagerStyle.PageLabel Property but it seems this is nonexistent.
This is the code below.. It works fine it's just that when there less
than 20 items there is a "1" as the bottom which looks like a
forgotten div tag.. Thank you in advance for your advice and help..
Kiki
<asp:datagrid id=".." runat="server" PageSize="20"
AutoGenerateColumns="False" AllowPaging="True" AllowSorting="True">
<SelectedItemStyle ... ></SelectedItemStyle>
<EditItemStyle ... ></EditItemStyle>
<AlternatingItemStyle ...></AlternatingItemStyle>
<ItemStyle ... ></ItemStyle>
<HeaderStyle ... ></HeaderStyle>
<Columns>
......
</Columns>
<PagerStyle NextPageText="Next &gt;" Font-Size="Smaller"
Font-Names="Verdana" PrevPageText="&lt; Prev"
Mode="NumericPages"></PagerStyle>
</asp:datagrid>
like
described in the MSDN-Library. It says that you should use
PagerStyle.PageLabel Property but it seems this is nonexistent.
This is the code below.. It works fine it's just that when there less
than 20 items there is a "1" as the bottom which looks like a
forgotten div tag.. Thank you in advance for your advice and help..
Kiki
<asp:datagrid id=".." runat="server" PageSize="20"
AutoGenerateColumns="False" AllowPaging="True" AllowSorting="True">
<SelectedItemStyle ... ></SelectedItemStyle>
<EditItemStyle ... ></EditItemStyle>
<AlternatingItemStyle ...></AlternatingItemStyle>
<ItemStyle ... ></ItemStyle>
<HeaderStyle ... ></HeaderStyle>
<Columns>
......
</Columns>
<PagerStyle NextPageText="Next &gt;" Font-Size="Smaller"
Font-Names="Verdana" PrevPageText="&lt; Prev"
Mode="NumericPages"></PagerStyle>
</asp:datagrid>