DataPager.Attributes Property


Gets a collection of custom attribute name/value pairs for the DataPager control.

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

public AttributeCollection Attributes { get; }

Property Value

Type: System.Web.UI.AttributeCollection

A collection of custom attribute name/value pairs.

Use the Attributes collection to manage the attribute name/value pairs that are declared in the opening tag of the DataPager control, but that are not directly supported by the class. You can programmatically add or remove attributes to the collection.

.NET Framework
Available since 3.5
Return to top