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

Is for loop faster than foreach?

0 Answers  


Write the difference between TypeOf and GetType?

0 Answers   Wipro,


How can I produce an assembly?

0 Answers  


What is a c# delegate?

0 Answers  


what is master pages how to use it. plase give one example in code vice

1 Answers  






What is inheritance in csharp?

0 Answers  


Write code for palindrome?

10 Answers   Tech Mahindra,


Does C# support multiple inheritance?

5 Answers  


what is the lifespan of the items stored in viewstate ?

4 Answers  


What is difference between ienumerable and list in c#?

0 Answers  


What do you know about Translate Accelerator?

0 Answers   C DAC,


syntax for writing private method in a interface

7 Answers   ABMPL, Wipro,


Categories