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

Class ScriptControlBase

Implements
System.Web.UI.INamingContainer
System.Web.UI.IPostBackDataHandler
System.Web.UI.ICallbackEventHandler
Namespace: AjaxControlToolkit
Assembly: AjaxControlToolkit.dll
Version: 13.30.0
Syntax
[ClientScriptResource(null, "AjaxControlToolkit.ExtenderBase.BaseScripts.js")]
public class ScriptControlBase : ScriptControl, INamingContainer, IControlResolver, IPostBackDataHandler, ICallbackEventHandler, IClientStateManager

Constructors

ScriptControlBase()

Declaration
protected ScriptControlBase()

ScriptControlBase(Boolean)

Declaration
protected ScriptControlBase(bool enableClientState)
Parameters
Type Name Description
System.Boolean enableClientState

ScriptControlBase(Boolean, String)

Declaration
protected ScriptControlBase(bool enableClientState, string tag)
Parameters
Type Name Description
System.Boolean enableClientState
System.String tag

ScriptControlBase(Boolean, HtmlTextWriterTag)

Declaration
protected ScriptControlBase(bool enableClientState, HtmlTextWriterTag tag)
Parameters
Type Name Description
System.Boolean enableClientState
System.Web.UI.HtmlTextWriterTag tag

ScriptControlBase(String)

Declaration
protected ScriptControlBase(string tag)
Parameters
Type Name Description
System.String tag

ScriptControlBase(HtmlTextWriterTag)

Declaration
public ScriptControlBase(HtmlTextWriterTag tag)
Parameters
Type Name Description
System.Web.UI.HtmlTextWriterTag tag

Properties

ClientControlType

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

ClientStateFieldID

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

IsRenderingScript

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

ScriptManager

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

ScriptPath

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

SupportsClientState

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

TagKey

Declaration
protected override HtmlTextWriterTag TagKey { get; }
Property Value
Type Description
System.Web.UI.HtmlTextWriterTag

TagName

Declaration
protected override string TagName { get; }
Property Value
Type Description
System.String

Methods

DescribeComponent(ScriptComponentDescriptor)

Declaration
protected virtual void DescribeComponent(ScriptComponentDescriptor descriptor)
Parameters
Type Name Description
System.Web.UI.ScriptComponentDescriptor descriptor

FindControl(String)

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

GetCallbackResult()

Declaration
protected virtual string GetCallbackResult()
Returns
Type Description
System.String

GetScriptDescriptors()

Declaration
protected override IEnumerable<ScriptDescriptor> GetScriptDescriptors()
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>

LoadClientState(String)

Declaration
protected virtual void LoadClientState(string clientState)
Parameters
Type Name Description
System.String clientState

LoadPostData(String, NameValueCollection)

Declaration
protected virtual bool LoadPostData(string postDataKey, NameValueCollection postCollection)
Parameters
Type Name Description
System.String postDataKey
System.Collections.Specialized.NameValueCollection postCollection
Returns
Type Description
System.Boolean

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

RaiseCallbackEvent(String)

Declaration
protected virtual void RaiseCallbackEvent(string eventArgument)
Parameters
Type Name Description
System.String eventArgument

RaisePostDataChangedEvent()

Declaration
protected virtual void RaisePostDataChangedEvent()

ResolveControl(String)

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

SaveClientState()

Declaration
protected virtual string SaveClientState()
Returns
Type Description
System.String

Explicit Interface Implementations

IClientStateManager.LoadClientState(String)

Declaration
void IClientStateManager.LoadClientState(string clientState)
Parameters
Type Name Description
System.String clientState

IClientStateManager.SaveClientState()

Declaration
string IClientStateManager.SaveClientState()
Returns
Type Description
System.String

IClientStateManager.SupportsClientState

Declaration
bool IClientStateManager.SupportsClientState { get; }
Returns
Type Description
System.Boolean

Implements

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