This documentation is archived and is not being maintained.

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)

public:
virtual property String^ LoginButtonImageUrl {
	String^ get ();
	void set (String^ value);
}
<asp:Login LoginButtonImageUrl="String" />

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

Supported in: 4, 3.5, 3.0, 2.0

Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows XP SP2 x64 Edition, 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: