SaaS CMS has officially launched! Learn more now.

Class ControlUpdateExtender

An extender control that can extend any basic web control with jsGrid functionality.

Inheritance
System.Object
ControlUpdateExtender
Namespace: Mediachase.BusinessFoundation
Assembly: Mediachase.BusinessFoundation.dll
Version: 11.8.3
Syntax
public class ControlUpdateExtender : ExtenderControl

Constructors

ControlUpdateExtender()

Declaration
public ControlUpdateExtender()

Properties

ActionList

Gets the action list.

Declaration
public List<ClientGridAction> ActionList { get; }
Property Value
Type Description
System.Collections.Generic.List<ClientGridAction>

The action list.

ControlUpdateId

Gets or sets the control update id.

Declaration
public string ControlUpdateId { get; set; }
Property Value
Type Description
System.String

The control update id.

GridId

Gets or sets the grid id.

Declaration
public string GridId { get; set; }
Property Value
Type Description
System.String

The grid id.

Methods

GetScriptDescriptors(Control)

Registers the System.Web.UI.ScriptDescriptor objects for the control.

Declaration
protected override IEnumerable<ScriptDescriptor> GetScriptDescriptors(Control targetControl)
Parameters
Type Name Description
System.Web.UI.Control targetControl

The server control to which the extender is associated.

Returns
Type Description
System.Collections.Generic.IEnumerable<System.Web.UI.ScriptDescriptor>

An enumeration of System.Web.UI.ScriptDescriptor objects.

GetScriptReferences()

Registers the script libraries for the control.

Declaration
protected override IEnumerable<ScriptReference> GetScriptReferences()
Returns
Type Description
System.Collections.Generic.IEnumerable<System.Web.UI.ScriptReference>

An object that implements the System.Collections.IEnumerable interface and that contains ECMAScript (JavaScript) files that have been registered as embedded resources.

Render(HtmlTextWriter)

Sends server control content to a provided System.Web.UI.HtmlTextWriter object, which writes the content to be rendered in the browser window.

Declaration
protected override void Render(HtmlTextWriter writer)
Parameters
Type Name Description
System.Web.UI.HtmlTextWriter writer

The System.Web.UI.HtmlTextWriter object that receives the server control content.