What is the difference between User Controls and Custom Controls? - ProProfs Discuss
Advertisement

What is the difference between User Controls and Custom Controls?

Asked by Daniel Frederic, Last updated: Mar 06, 2024

+ Answer
Request
Question menu
Vote up Vote down

2 Answers

W. Mocroft

W. Mocroft

Love to do some charity work. Have a passion for writing and do it in my spare time

W. Mocroft
W. Mocroft, Philanthropist, Master Degree in International Business, Las Vegas

Answered Oct 08, 2020

When you say user control, this is known to be a type of page file that comes with an extension. The file extension of this is .ascx. This can be used for one specific project, or it can also be used for one particular application.

When you say custom controls, this is known to be very useful for different DLL files. Custom controls can be used for different applications. A custom control will have a dynamic layout, while a user control will have a static layout.

The UI for custom control can also be changed depending on the projects that you would use them with. The UI for user control will remain the same throughout because this can only be used for one project anyway.

upvote downvote
Reply 

Daniel Frederic

Daniel Frederic

Daniel Frederic
Daniel Frederic

Answered May 19, 2020

A custom control is a loosely joined control defined in a class that stems from control. The UI of the custom control is usually demarcated in a resource wordlist inside the source file. They are fashioned according to the requirement of the business.

If you want to change the functionality of the existing controls, such as button or label, you can directly procure the new class with the current classes and can change their conduct. We can create themes for custom control and reuse them in different projects.

The base user control is almost like a custom control that you obtain to produce a control UI specific to your application. It provides the reusability of design and is made the same way as a web form. User controls are advantageous if they must be used only for a particular website. They have a visual interface.

upvote downvote
Reply 

Advertisement
Advertisement
Search for Google images Google Image Icon
Select a recommended image
Upload from your computer Loader
Image Preview
Search for Google images Google Image Icon
Select a recommended image
Upload from your computer Loader
Image Preview
Search for Google images Google Image Icon
Select a recommended image
Upload from your computer Loader

Email Sent
We have sent an email to your address "" with instructions to reset your password.