Fork me on GitHub

PagingButtonType property

Gets or sets the type of numeric paging buttons, can be either text or image, default value is text.

C# Syntax:

public PagingButtonType  PagingButtonType {get; set;}

Default value:

PagingButtonType.Text

Example:

The following example shows how to use image buttons:
 <Webdiyer:AspNetPager runat="server" 
		id="pager1" OnPageChanged="ChangePage"  
		PagingButtonType="image" 	ImagePath="images" 
		ButtonImageNameExtension="n" 
		DisabledButtonImageNameExtension="g" 
		ButtonImageExtension="gif" 
		CpiButtonImageNameExtension="r" 
		PagingButtonSpacing="10px"/>