November Happy Hour will be moved to Thursday December 5th.

Class ImageButton

Inheritance
System.Object
ImageButton
Implements
System.Web.UI.INamingContainer
System.Web.UI.IPostBackDataHandler
System.Web.UI.ICallbackEventHandler
Namespace: AjaxControlToolkit.HTMLEditor.ToolbarButton
Assembly: AjaxControlToolkit.dll
Version: 13.30.0
Syntax
[ClientScriptResource("AjaxControlToolkit.HTMLEditor.ToolbarButton.ImageButton", "AjaxControlToolkit.HTMLEditor.Toolbar_buttons.ImageButton.js")]
[RequiredScript(typeof(CommonToolkitScripts))]
public abstract class ImageButton : CommonButton, INamingContainer, IControlResolver, IPostBackDataHandler, ICallbackEventHandler, IClientStateManager

Constructors

ImageButton()

Declaration
public ImageButton()

Properties

ActiveSrc

Declaration
[ClientPropertyName("activeSrc")]
[ExtenderControlProperty]
public string ActiveSrc { get; set; }
Property Value
Type Description
System.String

BaseImageButtonType

Declaration
protected virtual Type BaseImageButtonType { get; }
Property Value
Type Description
System.Type

DownSrc

Declaration
[ClientPropertyName("downSrc")]
[ExtenderControlProperty]
public string DownSrc { get; set; }
Property Value
Type Description
System.String

HoverSrc

Declaration
[ExtenderControlProperty]
[ClientPropertyName("hoverSrc")]
public string HoverSrc { get; set; }
Property Value
Type Description
System.String

NormalSrc

Declaration
[ClientPropertyName("normalSrc")]
[ExtenderControlProperty]
public string NormalSrc { get; set; }
Property Value
Type Description
System.String

Methods

AddAttributesToRender(HtmlTextWriter)

Declaration
protected override void AddAttributesToRender(HtmlTextWriter writer)
Parameters
Type Name Description
System.Web.UI.HtmlTextWriter writer

RegisterButtonImages(String)

Declaration
protected void RegisterButtonImages(string name)
Parameters
Type Name Description
System.String name

RegisterButtonImages(String, String)

Declaration
protected void RegisterButtonImages(string name, string ext)
Parameters
Type Name Description
System.String name
System.String ext

ShouldSerializeActiveSrc()

Declaration
public bool ShouldSerializeActiveSrc()
Returns
Type Description
System.Boolean

ShouldSerializeDownSrc()

Declaration
public bool ShouldSerializeDownSrc()
Returns
Type Description
System.Boolean

ShouldSerializeHoverSrc()

Declaration
public bool ShouldSerializeHoverSrc()
Returns
Type Description
System.Boolean

ShouldSerializeNormalSrc()

Declaration
public bool ShouldSerializeNormalSrc()
Returns
Type Description
System.Boolean

Implements

System.Web.UI.INamingContainer
System.Web.UI.IPostBackDataHandler
System.Web.UI.ICallbackEventHandler