Class ExtenderControlBase

Implements
Namespace: AjaxControlToolkit
Assembly: AjaxControlToolkit.dll
Version: 13.30.0
Syntax
[ClientScriptResource(null, "AjaxControlToolkit.ExtenderBase.BaseScripts.js")]
public abstract class ExtenderControlBase : ExtenderControl, IControlResolver

Constructors

ExtenderControlBase()

Declaration
protected ExtenderControlBase()

Properties

AllowScriptPath

Declaration
protected virtual bool AllowScriptPath { get; }
Property Value
Type Description
System.Boolean

BehaviorID

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

ClientControlType

Declaration
protected virtual string ClientControlType { get; }
Property Value
Type Description
System.String

ClientState

Declaration
public string ClientState { get; set; }
Property Value
Type Description
System.String

ClientStateFieldID

Declaration
[ExtenderControlProperty]
public string ClientStateFieldID { get; set; }
Property Value
Type Description
System.String

EnableClientState

Declaration
public bool EnableClientState { get; set; }
Property Value
Type Description
System.Boolean

Enabled

Declaration
public bool Enabled { get; set; }
Property Value
Type Description
System.Boolean

IsRenderingScript

Declaration
protected bool IsRenderingScript { get; }
Property Value
Type Description
System.Boolean

ProfileBindings

Declaration
[Obsolete("WARNING: ProfileBindings are disabled for this Toolkit release pending technical issues.  We hope to re-enable this in an upcoming release")]
public ProfilePropertyBindingCollection ProfileBindings { get; }
Property Value
Type Description
ProfilePropertyBindingCollection

ScriptPath

Declaration
public string ScriptPath { get; set; }
Property Value
Type Description
System.String

SkinID

Declaration
public override string SkinID { get; set; }
Property Value
Type Description
System.String

TargetControl

Declaration
protected Control TargetControl { get; }
Property Value
Type Description
System.Web.UI.Control

Methods

CheckIfValid(Boolean)

Declaration
protected virtual bool CheckIfValid(bool throwException)
Parameters
Type Name Description
System.Boolean throwException
Returns
Type Description
System.Boolean

Dispose()

Declaration
public override void Dispose()

EnsureValid()

Declaration
public virtual void EnsureValid()

FindControl(String)

Declaration
public override Control FindControl(string id)
Parameters
Type Name Description
System.String id
Returns
Type Description
System.Web.UI.Control

FindControlHelper(String)

Declaration
protected Control FindControlHelper(string id)
Parameters
Type Name Description
System.String id
Returns
Type Description
System.Web.UI.Control

GetClientID(String)

Declaration
protected string GetClientID(string controlId)
Parameters
Type Name Description
System.String controlId
Returns
Type Description
System.String

GetPropertyBoolValue(String)

Declaration
[Obsolete("Use GetPropertyValue<V> instead")]
protected bool GetPropertyBoolValue(string propertyName)
Parameters
Type Name Description
System.String propertyName
Returns
Type Description
System.Boolean

GetPropertyIntValue(String)

Declaration
[Obsolete("Use GetPropertyValue<V> instead")]
protected int GetPropertyIntValue(string propertyName)
Parameters
Type Name Description
System.String propertyName
Returns
Type Description
System.Int32

GetPropertyStringValue(String)

Declaration
[Obsolete("Use GetPropertyValue<V> instead")]
protected string GetPropertyStringValue(string propertyName)
Parameters
Type Name Description
System.String propertyName
Returns
Type Description
System.String

GetPropertyValue<V>(String, V)

Declaration
protected V GetPropertyValue<V>(string propertyName, V nullValue)
Parameters
Type Name Description
System.String propertyName
V nullValue
Returns
Type Description
V
Type Parameters
Name Description
V

GetScriptDescriptors(Control)

Declaration
protected override IEnumerable<ScriptDescriptor> GetScriptDescriptors(Control targetControl)
Parameters
Type Name Description
System.Web.UI.Control targetControl
Returns
Type Description
System.Collections.Generic.IEnumerable<System.Web.UI.ScriptDescriptor>

GetScriptReferences()

Declaration
protected override IEnumerable<ScriptReference> GetScriptReferences()
Returns
Type Description
System.Collections.Generic.IEnumerable<System.Web.UI.ScriptReference>

OnInit(EventArgs)

Declaration
protected override void OnInit(EventArgs e)
Parameters
Type Name Description
System.EventArgs e

OnLoad(EventArgs)

Declaration
protected override void OnLoad(EventArgs e)
Parameters
Type Name Description
System.EventArgs e

OnPreRender(EventArgs)

Declaration
protected override void OnPreRender(EventArgs e)
Parameters
Type Name Description
System.EventArgs e

OnResolveControlID(ResolveControlEventArgs)

Declaration
protected virtual void OnResolveControlID(ResolveControlEventArgs e)
Parameters
Type Name Description
ResolveControlEventArgs e

Render(HtmlTextWriter)

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

RenderInnerScript(ScriptBehaviorDescriptor)

Declaration
protected virtual void RenderInnerScript(ScriptBehaviorDescriptor descriptor)
Parameters
Type Name Description
System.Web.UI.ScriptBehaviorDescriptor descriptor

RenderScriptAttributes(ScriptBehaviorDescriptor)

Declaration
protected virtual void RenderScriptAttributes(ScriptBehaviorDescriptor descriptor)
Parameters
Type Name Description
System.Web.UI.ScriptBehaviorDescriptor descriptor

ResolveControl(String)

Declaration
public Control ResolveControl(string controlId)
Parameters
Type Name Description
System.String controlId
Returns
Type Description
System.Web.UI.Control

SerializeProperty(PropertyDescriptor)

Declaration
[Obsolete("Replaced by a call to ScriptObjectBuilder")]
protected object SerializeProperty(PropertyDescriptor prop)
Parameters
Type Name Description
System.ComponentModel.PropertyDescriptor prop
Returns
Type Description
System.Object

SerializeProperty(PropertyDescriptor, Boolean)

Declaration
[Obsolete("Replaced by a call to ScriptObjectBuilder")]
protected virtual object SerializeProperty(PropertyDescriptor prop, bool force)
Parameters
Type Name Description
System.ComponentModel.PropertyDescriptor prop
System.Boolean force
Returns
Type Description
System.Object

SetPropertyBoolValue(String, Boolean)

Declaration
[Obsolete("Use SetPropertyValue<V> instead")]
protected void SetPropertyBoolValue(string propertyName, bool value)
Parameters
Type Name Description
System.String propertyName
System.Boolean value

SetPropertyIntValue(String, Int32)

Declaration
[Obsolete("Use SetPropertyValue<V> instead")]
protected void SetPropertyIntValue(string propertyName, int value)
Parameters
Type Name Description
System.String propertyName
System.Int32 value

SetPropertyStringValue(String, String)

Declaration
[Obsolete("Use SetPropertyValue<V> instead")]
protected void SetPropertyStringValue(string propertyName, string value)
Parameters
Type Name Description
System.String propertyName
System.String value

SetPropertyValue<V>(String, V)

Declaration
protected void SetPropertyValue<V>(string propertyName, V value)
Parameters
Type Name Description
System.String propertyName
V value
Type Parameters
Name Description
V

ShouldSerializeClientStateFieldID()

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

SuppressUnusedParameterWarning(Object)

Declaration
protected static void SuppressUnusedParameterWarning(object unused)
Parameters
Type Name Description
System.Object unused

Events

ClientStateValuesLoaded

Declaration
protected event EventHandler ClientStateValuesLoaded
Event Type
Type Description
System.EventHandler

ResolveControlID

Declaration
public event ResolveControlEventHandler ResolveControlID
Event Type
Type Description
ResolveControlEventHandler

Implements