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

Can struct be static in c#?

0 Answers  


What is parse method in c#?

0 Answers  


Why multiple Inheritence is not used in C#?

8 Answers   Symphony,


Wht executescaler method is used?

0 Answers  


Hai I am Shiva from TN, SSE.I have an query problem. My Table : Door Field : ID,DoorID,ZoneID,Date,Time,Status. Problem was : Status.We got two values, one is 00 (OUTTIME) , Another is 01(INTIME) Like this Status --------- 00 01 00 01 00 01 00 01 How to Set as Status 00 and 01 , of separate column , Status as Intime,Status as Outtime Like this ----------- InTime OutTime ---------- ----------- 01 00 01 00 01 00 01 00 01 00 01 00 Regards KS kumar

1 Answers  






What is a variable in c#?

0 Answers  


What is token in c#?

0 Answers  


Does console.writeline() stop printing when it reaches a null character within a string?

0 Answers  


How will you deploy the dll file in gac?

0 Answers  


What?s a delegate?

3 Answers  


What is int16?

0 Answers  


what is the main differnce between const,readonly and static

3 Answers   Beehive Systems, CDAC,


Categories