Class ScriptControlBase
Inheritance
System.Object
ScriptControlBase
Implements
System.Web.UI.INamingContainer
System.Web.UI.IPostBackDataHandler
System.Web.UI.ICallbackEventHandler
Assembly: AjaxControlToolkit.dll
Version: 13.30.0
[ClientScriptResource(null, "AjaxControlToolkit.ExtenderBase.BaseScripts.js")]
public class ScriptControlBase : ScriptControl, INamingContainer, IControlResolver, IPostBackDataHandler, ICallbackEventHandler, IClientStateManager
Constructors
Declaration
protected ScriptControlBase()
Declaration
protected ScriptControlBase(bool enableClientState)
Parameters
Type |
Name |
Description |
System.Boolean |
enableClientState |
|
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 |
|
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
Declaration
protected virtual string ClientControlType { get; }
Property Value
Type |
Description |
System.String |
|
Declaration
protected string ClientStateFieldID { get; }
Property Value
Type |
Description |
System.String |
|
Declaration
protected bool IsRenderingScript { get; }
Property Value
Type |
Description |
System.Boolean |
|
Declaration
protected ScriptManager ScriptManager { get; }
Property Value
Type |
Description |
System.Web.UI.ScriptManager |
|
Declaration
public virtual string ScriptPath { get; set; }
Property Value
Type |
Description |
System.String |
|
Declaration
protected virtual bool SupportsClientState { get; }
Property Value
Type |
Description |
System.Boolean |
|
Declaration
protected override HtmlTextWriterTag TagKey { get; }
Property Value
Type |
Description |
System.Web.UI.HtmlTextWriterTag |
|
Declaration
protected override string TagName { get; }
Property Value
Type |
Description |
System.String |
|
Methods
Declaration
protected virtual void DescribeComponent(ScriptComponentDescriptor descriptor)
Parameters
Type |
Name |
Description |
System.Web.UI.ScriptComponentDescriptor |
descriptor |
|
Declaration
public override Control FindControl(string id)
Parameters
Type |
Name |
Description |
System.String |
id |
|
Returns
Type |
Description |
System.Web.UI.Control |
|
Declaration
protected virtual string GetCallbackResult()
Returns
Type |
Description |
System.String |
|
Declaration
protected override IEnumerable<ScriptDescriptor> GetScriptDescriptors()
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 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 |
|
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 RaiseCallbackEvent(string eventArgument)
Parameters
Type |
Name |
Description |
System.String |
eventArgument |
|
RaisePostDataChangedEvent()
Declaration
protected virtual void RaisePostDataChangedEvent()
Declaration
public Control ResolveControl(string controlId)
Parameters
Type |
Name |
Description |
System.String |
controlId |
|
Returns
Type |
Description |
System.Web.UI.Control |
|
Declaration
protected virtual string SaveClientState()
Returns
Type |
Description |
System.String |
|
Explicit Interface Implementations
Declaration
void IClientStateManager.LoadClientState(string clientState)
Parameters
Type |
Name |
Description |
System.String |
clientState |
|
Declaration
string IClientStateManager.SaveClientState()
Returns
Type |
Description |
System.String |
|
Declaration
bool IClientStateManager.SupportsClientState { get; }
Returns
Type |
Description |
System.Boolean |
|
Implements
System.Web.UI.INamingContainer
System.Web.UI.IPostBackDataHandler
System.Web.UI.ICallbackEventHandler