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
Can I add mvc testcases in visual studio express?
What is NonActionAttribute ?
How does the .net framework 3.0 relate to windows vista?
what is model first approach?
What is difference between razor and web form engine?
what is datacontrols?
Explain RenderBody and RenderPage in ASP.Net MVC?
What is renderbody?
what is deferred loading(lazy loading)?
What are the advantages of razor view engine?
What are ajax helpers in asp.net mvc?
How route table has been created in ASP.NET ASP.Net MVC?
Is .net framework dead?
What is .net core framework?
What is .net architecture?