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

what is a delegate? what it is used for?

13 Answers   Choice Solutions, TCS,


How is the memory managed in C#.

1 Answers  


How many destructors can a class have?

0 Answers  


Give an example of a ctype.

0 Answers  


If we write a goto or a return statement in try and catch block will the finally block execute?

6 Answers  






How to generate strong name key file or which command is used to generated strong name key file?

0 Answers   CitiusTech,


Which constructor is called first in c#?

0 Answers  


Can an array be null c#?

0 Answers  


What is the use of constructor in c# with example?

0 Answers  


What is the difference between static and constant variables?

0 Answers   Accenture,


Can a structure inherit a class.

3 Answers   Infosys, Synechron,


Hello Friends..am Mohammed riyash..final year BCA in Jamal Mohamed College 2009. Trichy. My doubt is while connecting SQL2005 Built in Database withing the Visual Studio 2005 Framework.. I am getting the error.. That " An Error occurred and it may be due to , under the default settings of the Server, the connection cannot be established.." But the code works in MS Access for me.. Both in VB.Net and C#.Net am getting the same error.. Any genius please Message me to 9994558822 or mail me.. riyash.ips@gmail.com

3 Answers  


Categories