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 |
How jit (just in time) works?
what is class libraries?
Is versioning applicable to private assemblies?
What is difference between events and delegates?
what is object-oriented programming (oop) language?
What are variables in c#?
What is command object in c#?
Is there throws keyword in c#?
What is Interface and Abstraction (in real time scenario)
What are the two uses of a ‘using’ statement in c#?
What is concrete class in c# with example?
What is difference between array and list 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)