Class ExtenderControlBase
Inheritance
System.Object
ExtenderControlBase
Assembly: AjaxControlToolkit.dll
Version: 13.30.0
[ClientScriptResource(null, "AjaxControlToolkit.ExtenderBase.BaseScripts.js")]
public abstract class ExtenderControlBase : ExtenderControl, IControlResolver
Constructors
Declaration
protected ExtenderControlBase()
Properties
Declaration
protected virtual bool AllowScriptPath { get; }
Property Value
Type |
Description |
System.Boolean |
|
Declaration
[ClientPropertyName("id")]
[ExtenderControlProperty]
public string BehaviorID { get; set; }
Property Value
Type |
Description |
System.String |
|
Declaration
protected virtual string ClientControlType { get; }
Property Value
Type |
Description |
System.String |
|
Declaration
public string ClientState { get; set; }
Property Value
Type |
Description |
System.String |
|
Declaration
[ExtenderControlProperty]
public string ClientStateFieldID { get; set; }
Property Value
Type |
Description |
System.String |
|
Declaration
public bool EnableClientState { get; set; }
Property Value
Type |
Description |
System.Boolean |
|
Declaration
public bool Enabled { get; set; }
Property Value
Type |
Description |
System.Boolean |
|
Declaration
protected bool IsRenderingScript { get; }
Property Value
Type |
Description |
System.Boolean |
|
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
Declaration
public string ScriptPath { get; set; }
Property Value
Type |
Description |
System.String |
|
Declaration
public override string SkinID { get; set; }
Property Value
Type |
Description |
System.String |
|
Declaration
protected Control TargetControl { get; }
Property Value
Type |
Description |
System.Web.UI.Control |
|
Methods
Declaration
protected virtual bool CheckIfValid(bool throwException)
Parameters
Type |
Name |
Description |
System.Boolean |
throwException |
|
Returns
Type |
Description |
System.Boolean |
|
Declaration
public override void Dispose()
Declaration
public virtual void EnsureValid()
Declaration
public override Control FindControl(string id)
Parameters
Type |
Name |
Description |
System.String |
id |
|
Returns
Type |
Description |
System.Web.UI.Control |
|
Declaration
protected Control FindControlHelper(string id)
Parameters
Type |
Name |
Description |
System.String |
id |
|
Returns
Type |
Description |
System.Web.UI.Control |
|
Declaration
protected string GetClientID(string controlId)
Parameters
Type |
Name |
Description |
System.String |
controlId |
|
Returns
Type |
Description |
System.String |
|
Declaration
[Obsolete("Use GetPropertyValue<V> instead")]
protected bool GetPropertyBoolValue(string propertyName)
Parameters
Type |
Name |
Description |
System.String |
propertyName |
|
Returns
Type |
Description |
System.Boolean |
|
Declaration
[Obsolete("Use GetPropertyValue<V> instead")]
protected int GetPropertyIntValue(string propertyName)
Parameters
Type |
Name |
Description |
System.String |
propertyName |
|
Returns
Type |
Description |
System.Int32 |
|
Declaration
[Obsolete("Use GetPropertyValue<V> instead")]
protected string GetPropertyStringValue(string propertyName)
Parameters
Type |
Name |
Description |
System.String |
propertyName |
|
Returns
Type |
Description |
System.String |
|
Declaration
protected V GetPropertyValue<V>(string propertyName, V nullValue)
Parameters
Type |
Name |
Description |
System.String |
propertyName |
|
V |
nullValue |
|
Returns
Type Parameters
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> |
|
Declaration
protected override IEnumerable<ScriptReference> GetScriptReferences()
Returns
Type |
Description |
System.Collections.Generic.IEnumerable<System.Web.UI.ScriptReference> |
|
Declaration
protected override void OnInit(EventArgs e)
Parameters
Type |
Name |
Description |
System.EventArgs |
e |
|
Declaration
protected override void OnLoad(EventArgs e)
Parameters
Type |
Name |
Description |
System.EventArgs |
e |
|
Declaration
protected override void OnPreRender(EventArgs e)
Parameters
Type |
Name |
Description |
System.EventArgs |
e |
|
Declaration
protected virtual void OnResolveControlID(ResolveControlEventArgs e)
Parameters
Render(HtmlTextWriter)
Declaration
protected override void Render(HtmlTextWriter writer)
Parameters
Type |
Name |
Description |
System.Web.UI.HtmlTextWriter |
writer |
|
Declaration
protected virtual void RenderInnerScript(ScriptBehaviorDescriptor descriptor)
Parameters
Type |
Name |
Description |
System.Web.UI.ScriptBehaviorDescriptor |
descriptor |
|
Declaration
protected virtual void RenderScriptAttributes(ScriptBehaviorDescriptor descriptor)
Parameters
Type |
Name |
Description |
System.Web.UI.ScriptBehaviorDescriptor |
descriptor |
|
Declaration
public Control ResolveControl(string controlId)
Parameters
Type |
Name |
Description |
System.String |
controlId |
|
Returns
Type |
Description |
System.Web.UI.Control |
|
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 |
|
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 |
|
Declaration
[Obsolete("Use SetPropertyValue<V> instead")]
protected void SetPropertyBoolValue(string propertyName, bool value)
Parameters
Type |
Name |
Description |
System.String |
propertyName |
|
System.Boolean |
value |
|
Declaration
[Obsolete("Use SetPropertyValue<V> instead")]
protected void SetPropertyIntValue(string propertyName, int value)
Parameters
Type |
Name |
Description |
System.String |
propertyName |
|
System.Int32 |
value |
|
Declaration
[Obsolete("Use SetPropertyValue<V> instead")]
protected void SetPropertyStringValue(string propertyName, string value)
Parameters
Type |
Name |
Description |
System.String |
propertyName |
|
System.String |
value |
|
Declaration
protected void SetPropertyValue<V>(string propertyName, V value)
Parameters
Type |
Name |
Description |
System.String |
propertyName |
|
V |
value |
|
Type Parameters
Declaration
public bool ShouldSerializeClientStateFieldID()
Returns
Type |
Description |
System.Boolean |
|
Declaration
protected static void SuppressUnusedParameterWarning(object unused)
Parameters
Type |
Name |
Description |
System.Object |
unused |
|
Events
Declaration
protected event EventHandler ClientStateValuesLoaded
Event Type
Type |
Description |
System.EventHandler |
|
Declaration
public event ResolveControlEventHandler ResolveControlID
Event Type
Implements