Class ExtenderControlBase
- Namespace
- AjaxControlToolkit
- Assembly
- AjaxControlToolkit.dll
[ClientScriptResource(null, "BaseScripts")]
public abstract class ExtenderControlBase : ExtenderControl, IControlResolver
- Inheritance
-
ExtenderControlBase
- Implements
-
- Derived
-
Constructors
protected ExtenderControlBase()
Properties
[ExtenderControlProperty]
[ClientPropertyName("id")]
public string BehaviorID { get; set; }
Property Value
- string
protected virtual string ClientControlType { get; }
Property Value
- string
[Browsable(false)]
public string ClientState { get; set; }
Property Value
- string
[Browsable(false)]
public bool EnableClientState { get; set; }
Property Value
- bool
public bool Enabled { get; set; }
Property Value
- bool
protected Control TargetControl { get; }
Property Value
- Control
Methods
protected virtual bool CheckIfValid(bool throwException)
Parameters
throwException
bool
Returns
- bool
public virtual void EnsureValid()
public override Control FindControl(string id)
Parameters
id
string
Returns
- Control
protected Control FindControlHelper(string id)
Parameters
id
string
Returns
- Control
protected V GetPropertyValue<V>(string propertyName, V nullValue)
Parameters
propertyName
string
nullValue
V
Returns
- V
Type Parameters
V
protected override IEnumerable<ScriptDescriptor> GetScriptDescriptors(Control targetControl)
Parameters
targetControl
Control
Returns
- IEnumerable<ScriptDescriptor>
protected override IEnumerable<ScriptReference> GetScriptReferences()
Returns
- IEnumerable<ScriptReference>
protected override void OnInit(EventArgs e)
Parameters
e
EventArgs
protected override void OnLoad(EventArgs e)
Parameters
e
EventArgs
protected override void OnPreRender(EventArgs e)
Parameters
e
EventArgs
protected virtual void OnResolveControlID(ResolveControlEventArgs e)
Parameters
e
ResolveControlEventArgs
protected virtual void RenderInnerScript(ScriptBehaviorDescriptor descriptor)
Parameters
descriptor
ScriptBehaviorDescriptor
protected virtual void RenderScriptAttributes(ScriptBehaviorDescriptor descriptor)
Parameters
descriptor
ScriptBehaviorDescriptor
public Control ResolveControl(string controlId)
Parameters
controlId
string
Returns
- Control
protected void SetPropertyValue<V>(string propertyName, V value)
Parameters
propertyName
string
value
V
Type Parameters
V
Events
protected event EventHandler ClientStateValuesLoaded
Event Type
- EventHandler
public event ResolveControlEventHandler ResolveControlID
Event Type
- ResolveControlEventHandler