Table of Contents

Class BaseControl

Namespace
InSite.Common.Web.UI
Assembly
InSite.UI.dll
public abstract class BaseControl : Control, IComponent, IDisposable, IParserAccessor, IUrlResolutionService, IDataBindingsAccessor, IControlBuilderAccessor, IControlDesignerAccessor, IExpressionsAccessor, IAttributeAccessor
Inheritance
BaseControl
Implements
Derived
Inherited Members

Constructors

BaseControl()

protected BaseControl()

Properties

Attributes

public AttributeCollection Attributes { get; }

Property Value

AttributeCollection

CssClass

public string CssClass { get; set; }

Property Value

string

HasAttributes

public bool HasAttributes { get; }

Property Value

bool

Methods

AddAttributesToRender(HtmlTextWriter)

protected virtual void AddAttributesToRender(HtmlTextWriter writer)

Parameters

writer HtmlTextWriter

AddClientEventAttribute(HtmlTextWriter, string, Action<StringBuilder>)

protected static void AddClientEventAttribute(HtmlTextWriter writer, string key, Action<StringBuilder> action)

Parameters

writer HtmlTextWriter
key string
action Action<StringBuilder>

AddClientEventAttribute(HtmlTextWriter, string, string)

protected static void AddClientEventAttribute(HtmlTextWriter writer, string key, string value)

Parameters

writer HtmlTextWriter
key string
value string

AddClientEventAttribute(HtmlTextWriter, HtmlTextWriterAttribute, Action<StringBuilder>)

protected static void AddClientEventAttribute(HtmlTextWriter writer, HtmlTextWriterAttribute key, Action<StringBuilder> action)

Parameters

writer HtmlTextWriter
key HtmlTextWriterAttribute
action Action<StringBuilder>

AddClientEventAttribute(HtmlTextWriter, HtmlTextWriterAttribute, string)

protected static void AddClientEventAttribute(HtmlTextWriter writer, HtmlTextWriterAttribute key, string value)

Parameters

writer HtmlTextWriter
key HtmlTextWriterAttribute
value string

LoadViewState(object)

protected override void LoadViewState(object savedState)

Parameters

savedState object

OnAttributeSet(AttributeEventArgs)

protected virtual void OnAttributeSet(AttributeEventArgs e)

Parameters

e AttributeEventArgs

SaveViewState()

protected override object SaveViewState()

Returns

object

TrackViewState()

protected override void TrackViewState()