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.
Assembly: System.Web.Extensions (in System.Web.Extensions.dll)
public: property String^ ButtonCssClass { String^ get (); void set (String^ value); }
Property Value
Type: System::StringThe 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.
Note: |
|---|
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.
Windows 7, Windows Vista, Windows XP SP2, Windows Server 2008 R2, Windows Server 2008, Windows Server 2003
The .NET Framework and .NET Compact Framework do not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.
Note: