Monday, May 21, 2012

Difference between User Control and Custom Control

 

User Control

Custom Control

1

Compile at runtime

Precompile code

2

Asp.Net Page Model with Code behind

Component Model

3

Cannot be added to the Toolbox

Can be added to the toolbox

4

Visual design possible(HTML design)

No visual design(HTML design to be declared programatically)

5

No design time interface

Has design time and runtime interface

6

Can not be add in Global Assembly Cache

Can be add a single copu in Global Assembly cache

ITWORLD
If you have any question then you put your question as comments.

Put your suggestions as comments