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 |
What is the difference between disposing of () and finalize() methods in c#?
What are the different types of constructors in c#?
What are access modifiers used for?
What is dll file in c#?
What are the drawbacks of extending an interface as opposed to extending a class?
What is parameterized constructor?
What is the difference between abstract and abstraction?
What is the use of partial methods?
what is work of continue statement in C#?
What is difference between const and static in c#?
What is parseexact c#?
What are extensions methods 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)