Class ScriptUserControl
Inheritance
System.Object
ScriptUserControl
Implements
System.Web.UI.IScriptControl
System.Web.UI.IPostBackDataHandler
System.Web.UI.ICallbackEventHandler
Assembly: AjaxControlToolkit.dll
Version: 13.30.0
[ClientScriptResource(null, "AjaxControlToolkit.ExtenderBase.BaseScripts.js")]
public class ScriptUserControl : UserControl, IScriptControl, IControlResolver, IPostBackDataHandler, ICallbackEventHandler, IClientStateManager
Constructors
Declaration
protected ScriptUserControl()
Declaration
protected ScriptUserControl(bool enableClientState)
Parameters
Type |
Name |
Description |
System.Boolean |
enableClientState |
|
Declaration
protected ScriptUserControl(bool enableClientState, string tag)
Parameters
Type |
Name |
Description |
System.Boolean |
enableClientState |
|
System.String |
tag |
|
ScriptUserControl(Boolean, HtmlTextWriterTag)
Declaration
protected ScriptUserControl(bool enableClientState, HtmlTextWriterTag tag)
Parameters
Type |
Name |
Description |
System.Boolean |
enableClientState |
|
System.Web.UI.HtmlTextWriterTag |
tag |
|
Declaration
protected ScriptUserControl(string tag)
Parameters
Type |
Name |
Description |
System.String |
tag |
|
ScriptUserControl(HtmlTextWriterTag)
Declaration
public ScriptUserControl(HtmlTextWriterTag tag)
Parameters
Type |
Name |
Description |
System.Web.UI.HtmlTextWriterTag |
tag |
|
Properties
Declaration
public virtual Color BackColor { get; set; }
Property Value
Type |
Description |
System.Drawing.Color |
|
Declaration
public virtual Color BorderColor { get; set; }
Property Value
Type |
Description |
System.Drawing.Color |
|
Declaration
public virtual BorderStyle BorderStyle { get; set; }
Property Value
Type |
Description |
System.Web.UI.WebControls.BorderStyle |
|
Declaration
public virtual Unit BorderWidth { get; set; }
Property Value
Type |
Description |
System.Web.UI.WebControls.Unit |
|
Declaration
protected virtual string ClientControlType { get; }
Property Value
Type |
Description |
System.String |
|
Declaration
protected string ClientStateFieldID { get; }
Property Value
Type |
Description |
System.String |
|
Declaration
public Style ControlStyle { get; }
Property Value
Type |
Description |
System.Web.UI.WebControls.Style |
|
Declaration
public bool ControlStyleCreated { get; }
Property Value
Type |
Description |
System.Boolean |
|
Declaration
public virtual string CssClass { get; set; }
Property Value
Type |
Description |
System.String |
|
Declaration
public virtual FontInfo Font { get; }
Property Value
Type |
Description |
System.Web.UI.WebControls.FontInfo |
|
Declaration
public virtual Color ForeColor { get; set; }
Property Value
Type |
Description |
System.Drawing.Color |
|
Declaration
public virtual Unit Height { get; set; }
Property Value
Type |
Description |
System.Web.UI.WebControls.Unit |
|
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
public CssStyleCollection Style { get; }
Property Value
Type |
Description |
System.Web.UI.CssStyleCollection |
|
Declaration
protected virtual bool SupportsClientState { get; }
Property Value
Type |
Description |
System.Boolean |
|
Declaration
protected virtual HtmlTextWriterTag TagKey { get; }
Property Value
Type |
Description |
System.Web.UI.HtmlTextWriterTag |
|
Declaration
protected virtual string TagName { get; }
Property Value
Type |
Description |
System.String |
|
Declaration
public virtual Unit Width { get; set; }
Property Value
Type |
Description |
System.Web.UI.WebControls.Unit |
|
Methods
AddAttributesToRender(HtmlTextWriter)
Declaration
protected virtual void AddAttributesToRender(HtmlTextWriter writer)
Parameters
Type |
Name |
Description |
System.Web.UI.HtmlTextWriter |
writer |
|
Declaration
protected virtual Style CreateControlStyle()
Returns
Type |
Description |
System.Web.UI.WebControls.Style |
|
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 virtual IEnumerable<ScriptDescriptor> GetScriptDescriptors()
Returns
Type |
Description |
System.Collections.Generic.IEnumerable<System.Web.UI.ScriptDescriptor> |
|
Declaration
protected virtual 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()
Render(HtmlTextWriter)
Declaration
protected override void Render(HtmlTextWriter writer)
Parameters
Type |
Name |
Description |
System.Web.UI.HtmlTextWriter |
writer |
|
RenderBeginTag(HtmlTextWriter)
Declaration
public virtual void RenderBeginTag(HtmlTextWriter writer)
Parameters
Type |
Name |
Description |
System.Web.UI.HtmlTextWriter |
writer |
|
RenderContents(HtmlTextWriter)
Declaration
protected virtual void RenderContents(HtmlTextWriter writer)
Parameters
Type |
Name |
Description |
System.Web.UI.HtmlTextWriter |
writer |
|
RenderEndTag(HtmlTextWriter)
Declaration
public virtual void RenderEndTag(HtmlTextWriter writer)
Parameters
Type |
Name |
Description |
System.Web.UI.HtmlTextWriter |
writer |
|
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 |
|
Declaration
protected override object SaveViewState()
Returns
Type |
Description |
System.Object |
|
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.IScriptControl
System.Web.UI.IPostBackDataHandler
System.Web.UI.ICallbackEventHandler