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
What is viewstart page in mvc?
What are the possible razor view extensions?
What is the meaning of unobtrusive javascript?
Explain Sections is ASP.Net MVC?
Can you explain model, controller and view in mvc?
What is difference between html.beginform and ajax.beginform?
how do you truncate a table using entity data model?
Possible ways to prevent xss attacks on mvc application?
What is the difference between partial and renderpartial?
What is .net framework & its benefits?
What is entity framework used for?
What is namespace of asp.net mvc?
Explain dependency resolution?
what is code first approach?
Is entity framework slow?