Documentation for: ASP.NET Ajax Version 1.0

This documentation is for a previous version. For the current released version, see the ASP.NET Ajax documentation on MSDN.

 

 

 

 

 

 

 

Sys.UI.Control Constructor

When called from a derived class, initializes a new instance of that class.

Syntax

var a = new MyControl(element);

Term

Definition

element

The Sys.UI.DomElement object that the control will be associated with.

Exceptions

Exception Type Condition

invalidOperation Function

(Debug) The control is already defined.

Remarks

The Control constructor is a complete constructor function. However, because the Control classis an abstract base class, the constructor should be called only from derived classes.