PagerStyle.NextPageText Property

 

Gets or sets the label used for a UI element that is used to navigate to the next page. The default value is "Next". This API is obsolete. For information about how to develop ASP.NET mobile applications, see the www.asp.net/mobile Web site.

Namespace:   System.Web.UI.MobileControls
Assembly:  System.Web.Mobile (in System.Web.Mobile.dll)

<BindableAttribute(True)>
Public Property NextPageText As String

Property Value

Type: System.String

The label used for a UI element that is used to navigate to the next page.

The label can include the format specifier {0}, which is substituted with the page number of the next page when the label is rendered.

The following example demonstrates how to the use the NextPageText property to set the next page label to one more than the current page.

Private Sub Form1_PageIndexChanged(sender As Object, e As EventArgs)
     Form1.PagerStyle.NextPageText = (Form1.CurrentPage + 1)
End Sub

.NET Framework
Available since 1.1

NextPageText
Styles
Style
PagerStyle Class
System.Web.UI.MobileControls Namespace
Introduction to the StyleSheet Control

Return to top
Show: