What is different between User Control and Web Control and
Custom Control?
Answer Posted / prabhakar.
A user control is made up of existing controls. It is also
sometimes referred to as a composite control because of this
fact. A typical example is a login form. The form and all of
the logic is contained within this 'reuseable' user control.
A custom control is a control that you create. In windows
forms this means overriding the OnPaint method as in your
example above. Custom controls do not have the same level of
design time support as user controls do (ie dragging and
dropping existing controls, etc). Custom controls are
generally thought of as reuseable components that can be
added to the toolbox of visual studio, so they would have
more generic functionality to fit across projects (e.g. a
round button).
| Is This Answer Correct ? | 0 Yes | 2 No |
Post New Answer View All Answers
How we can register the Area in ASP.Net MVC?
What is the difference between .net core and .net framework?
what is client wins and store wins mode in entity framework concurrency?
What is meant by tempdata in mvc?
What is presentation framework?
What is filters in web api?
What is the need of Action Filters in ASP.Net MVC
What are sections?
Can you explain the page life cycle of mvc?
What is the .net framework?
How to use Jquery Plugins in ASP.Net MVC validation?
What is objectcontext? : Entity framework
Explain dependency resolution?
What are Scaffold templates in ASP.Net MVC?
How can we determine action invoked from HTTP GET or HTTP POST?