Saturday, July 21, 2007

Web Custom Server Control: Control Class

Control Class
Control class defines the methods, properties common to all server controls
That includes method/events that govern control execution lifecycle
Major properties such as: ID, UniqueID, Parent, ViewState
Control does not have any UI specific features
To author UI-less controls, derive from Control class

WebControl Class:
Derives from Control and provides additional methods/properties for UI
Properties include ForeColor, BackColor, Font, BorderStyle

No comments: