Clear Up
SharpKit Reference

Component Class

Provides the base class for the and classes, and for any other object whose lifetime should be managed by Microsoft ASP.NET AJAX.

Namespace: Sys

Base Types

System.Object

Constructors

Name Description
Component()

Methods

Name Description
beginUpdate() Sets the property of the current object to true.
create(Type) Returns a new instance of the class that uses the specified parameters and calls the method.
create(Type, JsObject, JsObject, JsObject, HtmlElement) Returns a new instance of the class that uses the specified parameters and calls the method.
dispose() Raises the event of the current object and removes the component from the application.
endUpdate() Sets the property of the current object to false, calls the method if it has not already been called, and then calls the method.
initialize() Sets the property of the current object to true.
raisePropertyChanged(string) Raises the event for the specified property.
updated() Has no built-in functionality; the Updated method is a placeholder for post-update logic in derived classes.

Events

Name Description
disposing Raised when the method is called for a component.
propertyChanged Raised when a property changes.

Properties

Name Description
id Gets or sets the ID of the current object.
© Copyright 2005-2011 SharpKit. All rights reserved.