Wednesday, January 21, 2009

Custom Web Control Types

There are 3 primary custom controls :-
user control,custom web control and composite control

User control :- A user control is a template control that provides extra behaviour to allow constituent controls to be added to the user control in the graphical User Interface .These controls are added to the user controls template file that is ascx file.

custom web control :- It Inherits from web control,were you can write all code to render the control or inherit it from existing web control .The class file can be compiled to a .dll that can be shared among applications and can optionally be installed in global assembly cache.

composite control :- A composite control is a custom web control that can contain constituent controls.The class file can be compiled to a .dll that can be shared among other application .

No comments:

Post a Comment