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 |
In a single .NET DLL how many classes it contains?
Can partial class be inherited?
What does protected internal access modifier mean?
what are the differences between a class and structure
What is the difference between properties and indexer in c#?
what are the differences b/w structure and class?
How do I trim a space in c#?
What is the purpose of a namespace?
Define boxing and unboxing in c#?
Why do we Need of static class in c#?
Can firstordefault return null?
What is a private class in c#?
Visual Basic (800)
C Sharp (3816)
ASP.NET (3180)
VB.NET (461)
COM+ (79)
ADO.NET (717)
IIS (369)
MTS (11)
Crystal Reports (81)
BizTalk (89)
Dot Net (2435)
Exchange Server (362)
SharePoint (720)
WCF (340)
MS Office Microsoft (6963)
LINQ Language-Integrated Query (317)
WPF (371)
TypeScript (144)
Microsoft Related AllOther (311)