asp.net.ph

DataGridPagerStyle.NextPageText Property

System.Web.UI.WebControls Namespace   DataGridPagerStyle Class


Sets or retrieves the text displayed for the next page button.

Syntax


Inline <pagerstyle nextpagetext = strValue ... >
Script DataGrid.PagerStyle.NextPageText = strValue

Property Value


strValue The text to display for the next page button.

The property is read/write with a default value of >.

Remarks

Use the NextPageText property to provide custom text for the next page button. The Mode property must be set to PagerMode.NextPrev for this property to have any effect.

This property is used along with the PrevPageText property to create a custom set of controls for the next and previous buttons of the pager on the DataGrid control.

NOTE: This property does not automatically encode special characters to HTML. You need to convert these characters to the appropriate HTML value. For example, use &gt; to render the greater than symbol ( > ).

Example

The following example demonstrates how to set the NextPageText property at design time, to specify custom text for the next page navigation button of the pager element.

<pagerstyle ... 
   nextpagetext = "Next" 
   prevpagetext = "Back" />
See Also

DataGridPagerStyle Members   PrevPageText Skip Navigation Links




Home
Suggested Reading


Previous page Back to top Next page

© 2000-2010 Rey Nuñez All rights reserved.

If you have any question, comment or suggestion
about this site, please send us a note

You can help support asp.net.ph