Creates the instance of the class. Type of the class can be determined by value of the DOM element's className.

Namespace:  C1.Web.UI.Controls.C1Input
Assembly:  C1InputClient (in C1InputClient.dll)

Syntax

JavaScript
function createInstance(element);

Parameters

element
Type: DOMElement
The DOM element.

Return Value

Examples

Example of the implementation: public override Object CreateInstance(DOMElement element) { if(DomElement.ContainsCssClass(element, "C1SpecificNode")) return new C1SpecificClass( element ); return new C1NormalClass( element ); }

See Also