Click here to Skip to main content
15,897,187 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi,

Using <asp:NumericPagerField ButtonCount="3" /> for a paging control with a ListView
when you have more data pages than specified in the ButtonCount property. The control creates a ‘...’ link for the next 3 pages. But as per requirement, i dont want to show ‘...’ as i am using <asp:NextPreviousPagerField> control also for prevoius/next pages.

Is it possible to hide ‘...’ ?

Thanks
Posted
Comments
PleaseHelpCP 14-May-12 3:10am    
Thanks Sandeep Mewara
I have set NextPagetext & PreviousPageText properties.
My requirement is to show previous button (Inactive) also. It should be like

<< < 1 2 3 > >>

Thanks

1 solution

You need to set the NextPagetext & PreviousPageText property of the control.
The text that is displayed for the next-page or previous-pasge button is "…" by default.

Here:
MSDN: NumericPagerField.NextPageText Property [^]
MSDN: NumericPagerField.PreviousPageText Property [^]
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

  Print Answers RSS
Top Experts
Last 24hrsThis month


CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900