System.Web.UI.WebControls.PagerSettings.FirstPageImageUrl Property

Gets or sets the URL to an image to display for the first-page button.

Syntax

[System.ComponentModel.Editor("System.Web.UI.Design.ImageUrlEditor, System.Design, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a", "System.Drawing.Design.UITypeEditor, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a")]
[System.ComponentModel.DefaultValue("")]
[System.Web.UI.UrlProperty]
[System.ComponentModel.NotifyParentProperty(true)]
public string FirstPageImageUrl { set; get; }

Value

Documentation for this section has not yet been entered.

Remarks

When the PagerSettings.Mode property is set to the PagerButtons.NextPreviousFirstLast or PagerButtons.NumericFirstLast value, use the PagerSettings.FirstPageImageUrl property to specify the URL to an image to display for the first-page button.

Note:

As an alternative, you can display text for the first-page button by setting the PagerSettings.FirstPageText property instead of the PagerSettings.FirstPageImageUrl property. If the PagerSettings.FirstPageImageUrl and PagerSettings.FirstPageText properties are both set, the image is displayed with the PagerSettings.FirstPageText property acting as the alternate text for the image. On browsers that support ToolTips, this text is also displayed as a ToolTip for the corresponding button.

The value of this property is stored in view state.

Requirements

Namespace: System.Web.UI.WebControls
Assembly: System.Web (in System.Web.dll)
Assembly Versions: 2.0.0.0
Since: .NET 2.0