What is difference between User Control and Custom Control in ASP.NET?

Web user controls Web custom controls Easier to create Harder to create Limited support for consumers who use a visual design tool Full visual design tool support for consumers A separate copy of the control is required in each application Only a single copy of the control is required, in the global assembly cache Cannot be added to the Toolbox in Visual Studio Can be added to the Toolbox in Visual Studio Good for static layout

Good for dynamic layout, for instance rows of a data-bound table

 

Advertisements
This entry was posted in Computers and Internet. Bookmark the permalink.

One Response to What is difference between User Control and Custom Control in ASP.NET?

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s