PagerStyle PageLabel problem

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 &amp;gt;" Font-Size="Smaller"
Font-Names="Verdana" PrevPageText="&amp;lt; Prev"
Mode="NumericPages"></PagerStyle>
</asp:datagrid>
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,769
Messages
2,569,582
Members
45,057
Latest member
KetoBeezACVGummies

Latest Threads

Top