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 separation of concerns in asp.net mvc?
what is .edmx file and what it contains?
i just want to write an exam regarding .net?plz give me information about taking a test?where to pay 4 d exam,exam centre?
What is storage model? : Entity framework
What is the advantage of mvc?
Why to use html.partial in mvc?
What is .net framework in simple terms?
What are advantages of Dependency Injection (DI) in ASP.Net MVC?
What is Layout in ASP.Net MVC?
What are the sub types of ActionResult?
What is the importance of NonActionAttribute?
What are the options can be configured in AJAX helpers?
What is difference between html.beginform and ajax.beginform?
what is entity sql?
Explain what platforms does the .net framework run on?