Login.LoginButtonImageUrl Property

 

Gets or sets the URL of an image to use for the login button.

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

abstract LoginButtonImageUrl : string with get, set
override LoginButtonImageUrl : string with get, set

Property Value

Type: System.String

The URL of the image used for the login button. The default is Empty.

The LoginButtonImageUrl property contains the URL of the image rendered as the Login control login button when the LoginButtonType property is set to Image.

The LoginButtonText property is used as the alternative text for the image in browsers that do not display images.

The following code example sets the LoginButtonImageUrl property to the URL of an image.

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

.NET Framework
Available since 2.0
Return to top
Show: