Search code examples
javascriptasp.nettextbuttondatapager

DataPager in ASP.NET


First is, I have asp:DataPager and inside I have:

<asp:NextPreviousPagerField ButtonType="Button" ShowFirstPageButton="true" ShowNextPageButton="false" ShowPreviousPageButton="false" />

Is possible change text in this button, and how? Default is "First", but i need change language.

Second is, inside DataPager I have <asp:NumericPagerField ButtonCount="4" /> but it isnt work without Javascript. Can I make it work without Javascript and how pls?


Solution

  • You can change default text by changing FirstPageText property.