IRadToolBarButton
Defines properties that must be implemented to allow a control to act like a RadToolBarButton item in a RadToolBar.
Definition
Namespace:Telerik.Web.UI
Assembly:Telerik.Web.UI.dll
Syntax:
public interface IRadToolBarButton
Derived Classes:
Properties
Gets or sets a value indicating whether clicking the button causes page validation to occur.
bool CausesValidation { get; set; }
true if clicking the button causes page validation to occur; otherwise, false.
Gets or sets the Cascading Style Sheet (CSS) class applied when the toolbar item is clicked.
string ClickedCssClass { get; set; }
The CSS class applied when the toolbar item is clicked. The default value is String.Empty.
Gets or sets the path to an image to display for the item when the user clicks it.
string ClickedImageUrl { get; set; }
The path to the image to display when the user clicks the item. The default value is empty string.
Use the ClickedImageUrl property to specify the image that will be used when the user clicks the item. If the ClickedImageUrl property is set to empty string the image specified by the ImageUrl property will be used. Use "~" (tilde) when referring to images within the current ASP.NET application.
Gets or sets an optional parameter passed to the Command event of the RadToolBar instance along with the associated CommandName
string CommandArgument { get; set; }
An optional parameter passed to the Command event of the RadToolBar instance along with the associated CommandName. The default value is an empty string.
Gets or sets the command name associated with the toolbar item that is passed to the ItemCommand event of the RadToolBar instance.
string CommandName { get; set; }
The command name of the toolbar item. The default value is an empty string.
Gets or sets the Cascading Style Sheet (CSS) class applied when the toolbar item is disabled.
string DisabledCssClass { get; set; }
The CSS class applied when the toolbar item is disabled. The default value is String.Empty.
By default the visual appearance of disabled toolbar items is defined in the skin CSS file. You can use the DisabledCssClass property to specify unique appearance for the toolbar item when it is disabled.
Gets or sets the path to an image to display when the item is disabled.
string DisabledImageUrl { get; set; }
The path to the image to display when the item is disabled. The default value is empty string.
Use the DisabledImageUrl property to specify the image that will be used when the item is disabled. If the DisabledImageUrl property is set to empty string the image specified by the ImageUrl property will be used. Use "~" (tilde) when referring to images within the current ASP.NET application.
Gets or sets the Cascading Style Sheet (CSS) class applied when the toolBar item is focused after tabbing to it, or by using its AccessKey
string FocusedCssClass { get; set; }
The CSS class applied when the toolBar item is focused. The default value is String.Empty.
By default the visual appearance of focused toolBar items is defined in the skin CSS file. You can use the FocusedCssClass property to specify unique appearance for the toolBar item when it is focused.
Gets or sets the path to an image to display when the user focuses the item either by tabbing to it or by using the AccessKey
string FocusedImageUrl { get; set; }
The path to the image to display when the user user focuses the item either by tabbing to that it or by using the AccessKey. The default value is empty string.
Use the FocusedImageUrl property to specify the image that will be used when the item gets the focus after tabbing or using its AccessKey. If the FocusedImageUrl property is set to empty string the image specified by the ImageUrl property will be used. Use "~" (tilde) when referring to images within the current ASP.NET application.
Gets or sets the Cascading Style Sheet (CSS) class applied when the user moves the mouse over the toolbar item.
string HoveredCssClass { get; set; }
The CSS class applied when the user moves the mouse over the toolbar item. The default value is String.Empty.
By default the visual appearance of a hovered toolbar items is defined in the skin CSS file. You can use the HoveredCssClass property to specify unique appearance for the toolbar item when it is hovered.
Gets or sets the path to an image to display when the user moves the mouse over the item.
string HoveredImageUrl { get; set; }
The path to the image to display when the user moves the mouse over the item. The default value is empty string.
Gets or sets the position of the item image according to the item text.
ToolBarImagePosition ImagePosition { get; set; }
The position of the item image according to the item text. The default value is ToolBarImagePosition.Left.
Gets or sets the path to an image to display for the item.
string ImageUrl { get; set; }
The path to the image to display for the item. The default value is empty string.
Use the ImageUrl property to specify the image for the item. If the ImageUrl property is set to empty string no image will be rendered. Use "~" (tilde) when referring to images within the current ASP.NET application.
Gets or sets the template for displaying the item.
ITemplate ItemTemplate { get; set; }
A ITemplate implemented object that contains the template for displaying the item. The default value is a null reference (Nothing in Visual Basic), which indicates that this property is not set.
Gets or sets the URL to link to when the item is clicked.
string NavigateUrl { get; set; }
The URL to link to when the item is clicked. The default value is empty string.
Use the NavigateUrl property to specify the URL to link to when the item is clicked. Use "~" (tilde) in front of an URL within the same ASP.NET application. When specifying external URL do not forget the protocol (e.g. "http://").
Gets or sets a value, indicating if the item will perform a postback.
bool PostBack { get; set; }
Used to indicate that an item should not perform a postback when the containing RadToolBar performs postback through.
Gets or sets the URL of the Web page to post to from the current page when the button control is clicked.
string PostBackUrl { get; set; }
The URL of the Web page to post to from the current page when the button control is clicked.
Gets or sets the target window or frame to display the Web page content linked to when the toolbar item is clicked.
string Target { get; set; }
The target window or frame to load the Web page linked to when the item is selected. Values must begin with a letter in the range of a through z (case insensitive), except for the following special values, which begin with an underscore:
The default value is empty string.
Use the Target property to specify the frame or window that displays the Web page linked to when the toolbar item is clicked. The Web page is specified by setting the NavigateUrl property.
If this property is not set, the Web page specified by the NavigateUrl property is loaded in the current window.
Gets or sets the text displayed for the current item.
string Text { get; set; }
The text an item in the RadToolBar control displays. The default is empty string.
Use the Text property to specify or determine the text an item displays displays in the RadToolBar control.
Gets the RadToolBar instance which contains the item.
RadToolBar ToolBar { get; }
Use this property to obtain an instance to the RadToolBar object containing the item.
Gets or sets the name for the group of controls for which the button control causes validation when it posts back to the server.
string ValidationGroup { get; set; }
The name for the group of controls for which the button control causes validation when it posts back to the server.