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
protected virtual string ClientControlType { get; }
Property Value
- string
protected string ClientStateFieldID { get; }
Property Value
- string
public bool IsRenderingScript { get; }
Property Value
- bool
protected ScriptManager ScriptManager { get; }
Property Value
- ScriptManager
protected virtual bool SupportsClientState { get; }
Property Value
- bool
protected override HtmlTextWriterTag TagKey { get; }
Property Value
- HtmlTextWriterTag
Methods
protected virtual void DescribeComponent(ScriptComponentDescriptor descriptor)
Parameters
descriptor
ScriptComponentDescriptor
public override Control FindControl(string id)
Parameters
id
string
Returns
- Control
protected virtual string GetCallbackResult()
Returns
- string
protected override IEnumerable<ScriptDescriptor> GetScriptDescriptors()
Returns
- IEnumerable<ScriptDescriptor>
protected override IEnumerable<ScriptReference> GetScriptReferences()
Returns
- IEnumerable<ScriptReference>
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
protected override void OnLoad(EventArgs e)
Parameters
e
EventArgs
protected override void OnPreRender(EventArgs e)
Parameters
e
EventArgs
protected virtual void RaiseCallbackEvent(string eventArgument)
Parameters
eventArgument
string
RaisePostDataChangedEvent()
protected virtual void RaisePostDataChangedEvent()
public Control ResolveControl(string controlId)
Parameters
controlId
string
Returns
- Control
protected virtual string SaveClientState()
Returns
- string