What are Custom Control and User Control?



What are Custom Control and User Control?..

Answer / padam

Custom Controls are controls generated as compiled code
(Dlls), those are easier to use and can be added to toolbox.
Developers can drag and drop controls to their web forms.
Attributes can be set at design time. We can easily add custom
controls to Multiple Applications (If Shared Dlls), If they
are private then we can copy to dll to bin directory of web
application and then add reference and can use them.
User Controls are very much similar to ASP include files, and
are easy to create. User controls can’t be placed in the
toolbox and dragged – dropped from it. They have their design
and code behind. The file extension for user controls is ascx

Is This Answer Correct ?    8 Yes 0 No

Post New Answer

More C Sharp Interview Questions

How do you name a variable in c#?

0 Answers  


What is the use of ienumerable in c#?

0 Answers  


Why do we need structs in c#?

0 Answers  


How many classes are there in classification?

0 Answers  


What is semaphore in c#?

0 Answers  


Which one is trusted and which one is untrusted?

0 Answers  


What is the difference between internal and protected in c#?

0 Answers  


what is uniary operators and binary operators and what is the difference

1 Answers   Protech,


What is the difference between TypeOf, GetType and what are the uses of TypeOf, GetType.

2 Answers   Siemens, Syntel,


What does it meant to say “the canonical” form of XML ?

1 Answers  


What is parameter c#?

0 Answers  


What is Reflection in .NET? Namespace? How will you load an assembly which is not referenced by current assembly?

0 Answers  


Categories