What is different between User Control and Web Control and
Custom Control?

Answers were Sorted based on User's Feedback



What is different between User Control and Web Control and Custom Control? ..

Answer / santhi sri

user control
1)created by user,easy to create difficult to use.
2)cannot be added to toolbar
3)a seperate copy of the control is required each
application
custom control:
1)they are predifined
2)can be added to toolbar
3)one single copy of control ia required

Is This Answer Correct ?    9 Yes 0 No

What is different between User Control and Web Control and Custom Control? ..

Answer / 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

More Dot Net Framework Interview Questions

What does a viewmodel do?

0 Answers  


Can Static Constructor be Overloaded?Justify it?

11 Answers   Infosys,


What is GUID , why we use it and where

1 Answers  


What is the "helperpage.isajax" property?

0 Answers  


what is a round trip?What is a postback?

4 Answers   Bosch, ONOTech,






What's the difference between Java and .NET garbage collectors ?

1 Answers   BirlaSoft,


How you deploy .NET assemblies

1 Answers  


Will there be a .net compact framework 3.0 release with release of .net framework 3.0?

0 Answers  


what do you mean by navigation property?

0 Answers   Microsoft,


How does CAS work

1 Answers  


More on CLR ?

2 Answers   MMTS,


Is it possible to cancel filter execution?

0 Answers  


Categories