Export (0) Print
Expand All
This topic has not yet been rated - Rate this topic

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.

.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.
Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft. All rights reserved.