Export (0) Print
Expand All

WebPartZoneBase.VerbButtonType Property

Gets or sets the kind of button associated with the verbs that exist in a WebPartZoneBase zone when accessed with an older browser.

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

[ThemeableAttribute(false)]
[BrowsableAttribute(false)]
public override ButtonType VerbButtonType { get; set; }
<asp:WebPartZoneBase VerbButtonType="ButtonType" />

Property Value

Type: System.Web.UI.WebControls.ButtonType
A ButtonType that determines what kind of button is associated with the verbs in a zone.

Web Parts verbs represent actions that users can perform in the user interface (UI) of a Web Parts page, such as minimizing, closing, or restoring controls; adding controls to a page; or canceling an action. A verb is represented in the UI by a clickable object, which you can set to appear as a hyperlink, an image, or a button by using the VerbButtonType property.

The VerbButtonType property applies to verbs that exist only at the zone level, as opposed to verbs that exist in each of the WebPart controls in a zone. For example, when you switch a page into catalog mode or edit mode, there are zone-level verbs in the footers of the zones that apply only to actions at the level of the entire zone. The VerbButtonType property is applied when the Web Parts page is accessed with an older ("down-level") browser.

You must assign a value to the ImageUrl property for each specific verb to cause an image to appear for that verb in its zone. If you do not provide the URL to an image, the verb's VerbButtonType property defaults to Link.

This property cannot be set by themes or style sheet themes. For more information, see ThemeableAttribute and ASP.NET Themes and Skins Overview.

Windows 7, Windows Vista, Windows XP SP2, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP Starter Edition, Windows Server 2008 R2, Windows Server 2008, Windows Server 2003, Windows Server 2000 SP4, Windows Millennium Edition, Windows 98

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.

.NET Framework

Supported in: 3.5, 3.0, 2.0

Community Additions

ADD
Show:
© 2014 Microsoft