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.

 

 

 

 

 

 

 

$create Shortcut Method

Provides a shortcut to the create method of the Sys.Component class.

Syntax

$create(type, properties, events, references, element);

Arguments

Parameter

Description

type

The type of the component to create.

properties

(Optional) A JSON object that describes the properties and their values.

events

(Optional) A JSON object that describes the events and their handlers.

references

(Optional) A JSON object that describes the properties that are references to other components.

element

(Optional) The DOM element that the component must be attached to.

Remarks

For details about the method that this shortcut represents, see create Method.