Table of Contents

Class ExtenderControlBase

Namespace
AjaxControlToolkit
Assembly
AjaxControlToolkit.dll
[ClientScriptResource(null, "BaseScripts")]
public abstract class ExtenderControlBase : ExtenderControl, IControlResolver
Inheritance
ExtenderControlBase
Implements
Derived

Constructors

ExtenderControlBase()

protected ExtenderControlBase()

Properties

BehaviorID

[ExtenderControlProperty]
[ClientPropertyName("id")]
public string BehaviorID { get; set; }

Property Value

string

ClientControlType

protected virtual string ClientControlType { get; }

Property Value

string

ClientState

[Browsable(false)]
public string ClientState { get; set; }

Property Value

string

EnableClientState

[Browsable(false)]
public bool EnableClientState { get; set; }

Property Value

bool

Enabled

public bool Enabled { get; set; }

Property Value

bool

TargetControl

protected Control TargetControl { get; }

Property Value

Control

Methods

CheckIfValid(bool)

protected virtual bool CheckIfValid(bool throwException)

Parameters

throwException bool

Returns

bool

EnsureValid()

public virtual void EnsureValid()

FindControl(string)

public override Control FindControl(string id)

Parameters

id string

Returns

Control

FindControlHelper(string)

protected Control FindControlHelper(string id)

Parameters

id string

Returns

Control

GetPropertyValue<V>(string, V)

protected V GetPropertyValue<V>(string propertyName, V nullValue)

Parameters

propertyName string
nullValue V

Returns

V

Type Parameters

V

GetScriptDescriptors(Control)

protected override IEnumerable<ScriptDescriptor> GetScriptDescriptors(Control targetControl)

Parameters

targetControl Control

Returns

IEnumerable<ScriptDescriptor>

GetScriptReferences()

protected override IEnumerable<ScriptReference> GetScriptReferences()

Returns

IEnumerable<ScriptReference>

OnInit(EventArgs)

protected override void OnInit(EventArgs e)

Parameters

e EventArgs

OnLoad(EventArgs)

protected override void OnLoad(EventArgs e)

Parameters

e EventArgs

OnPreRender(EventArgs)

protected override void OnPreRender(EventArgs e)

Parameters

e EventArgs

OnResolveControlID(ResolveControlEventArgs)

protected virtual void OnResolveControlID(ResolveControlEventArgs e)

Parameters

e ResolveControlEventArgs

RenderInnerScript(ScriptBehaviorDescriptor)

protected virtual void RenderInnerScript(ScriptBehaviorDescriptor descriptor)

Parameters

descriptor ScriptBehaviorDescriptor

RenderScriptAttributes(ScriptBehaviorDescriptor)

protected virtual void RenderScriptAttributes(ScriptBehaviorDescriptor descriptor)

Parameters

descriptor ScriptBehaviorDescriptor

ResolveControl(string)

public Control ResolveControl(string controlId)

Parameters

controlId string

Returns

Control

SetPropertyValue<V>(string, V)

protected void SetPropertyValue<V>(string propertyName, V value)

Parameters

propertyName string
value V

Type Parameters

V

Events

ClientStateValuesLoaded

protected event EventHandler ClientStateValuesLoaded

Event Type

EventHandler

ResolveControlID

public event ResolveControlEventHandler ResolveControlID

Event Type

ResolveControlEventHandler