This documentation is archived and is not being maintained.

NextPreviousPagerField::ButtonCssClass Property

Gets or sets the cascading style sheet (CSS) class that is used to render the buttons of the pager field on the browser.

Namespace:  System.Web.UI.WebControls
Assembly:  System.Web.Extensions (in System.Web.Extensions.dll)

public:
property String^ ButtonCssClass {
	String^ get ();
	void set (String^ value);
}

Property Value

Type: System::String
The CSS class used to render the buttons of the pager field on the client. The default is an empty string, which indicates that the ButtonCssClass property is not set.

Use the ButtonCssClass property to specify the CSS class to render on the browser for the buttons of the pager field. This property will always be rendered as the class attribute, regardless of the browser.

NoteNote

On browsers that do not support CSS, setting the ButtonCssClass property has no effect.

The value of this property is stored in viewstate.

The following example shows how to use the ButtonCssClass property to specify a CSS class for buttons in the NextPreviousPagerField object of a DataPager control.

No code example is currently available or this language may not be supported.

.NET Framework

Supported in: 4, 3.5

Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

The .NET Framework does not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.
Show: