Table of Contents

Class ScriptControlBase

Namespace
AjaxControlToolkit
Assembly
AjaxControlToolkit.dll
[ClientScriptResource(null, "BaseScripts")]
public class ScriptControlBase : ScriptControl, INamingContainer, IControlResolver, IPostBackDataHandler, ICallbackEventHandler, IClientStateManager
Inheritance
ScriptControlBase
Implements
INamingContainer
IPostBackDataHandler
ICallbackEventHandler
Derived

Constructors

ScriptControlBase(bool, HtmlTextWriterTag)

protected ScriptControlBase(bool enableClientState, HtmlTextWriterTag tag)

Parameters

enableClientState bool
tag HtmlTextWriterTag

ScriptControlBase(HtmlTextWriterTag)

public ScriptControlBase(HtmlTextWriterTag tag)

Parameters

tag HtmlTextWriterTag

Properties

ClientControlType

protected virtual string ClientControlType { get; }

Property Value

string

ClientStateFieldID

protected string ClientStateFieldID { get; }

Property Value

string

IsRenderingScript

public bool IsRenderingScript { get; }

Property Value

bool

ScriptManager

protected ScriptManager ScriptManager { get; }

Property Value

ScriptManager

SupportsClientState

protected virtual bool SupportsClientState { get; }

Property Value

bool

TagKey

protected override HtmlTextWriterTag TagKey { get; }

Property Value

HtmlTextWriterTag

Methods

DescribeComponent(ScriptComponentDescriptor)

protected virtual void DescribeComponent(ScriptComponentDescriptor descriptor)

Parameters

descriptor ScriptComponentDescriptor

FindControl(string)

public override Control FindControl(string id)

Parameters

id string

Returns

Control

GetCallbackResult()

protected virtual string GetCallbackResult()

Returns

string

GetScriptDescriptors()

protected override IEnumerable<ScriptDescriptor> GetScriptDescriptors()

Returns

IEnumerable<ScriptDescriptor>

GetScriptReferences()

protected override IEnumerable<ScriptReference> GetScriptReferences()

Returns

IEnumerable<ScriptReference>

LoadClientState(string)

protected virtual void LoadClientState(string clientState)

Parameters

clientState string

LoadPostData(string, NameValueCollection)

protected virtual bool LoadPostData(string postDataKey, NameValueCollection postCollection)

Parameters

postDataKey string
postCollection NameValueCollection

Returns

bool

OnLoad(EventArgs)

protected override void OnLoad(EventArgs e)

Parameters

e EventArgs

OnPreRender(EventArgs)

protected override void OnPreRender(EventArgs e)

Parameters

e EventArgs

RaiseCallbackEvent(string)

protected virtual void RaiseCallbackEvent(string eventArgument)

Parameters

eventArgument string

RaisePostDataChangedEvent()

protected virtual void RaisePostDataChangedEvent()

ResolveControl(string)

public Control ResolveControl(string controlId)

Parameters

controlId string

Returns

Control

SaveClientState()

protected virtual string SaveClientState()

Returns

string