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 eager loading?
In Server how to check whether model has error or not in ASP.Net MVC
What is Layout in ASP.Net MVC?
What is basic authentication in web api?
What are the versions of .net framework?
What are the 3 segments of the default route, that is present in an ASP.NET MVC application?
How the ‘page lifecycle’ of ASP.Net MVC does works?
Describe the roles of clr in .net framework.?
How large is the .net framework 3.0? Does this change make the release larger?
What is mapping in entity framework? : Entity framework
Please explain me what the project manager will ask in the interview.The interview is for senior position in .Net (5 years experience )
Can you set the unlimited length for "maxjsonlength" property in config?
what is model first approach?
Explain the new features added in version 4 of mvc (mvc4)?
Explain linq to entities? : Entity framework