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 |
Explain the difference between a struct and a class?
What is difference between a constant and read-only in C#?
What does convert toint32 mean?
What is difference between ienumerable and list in c#?
what is the lifespan of the items stored in viewstate ?
What is difference between mutable and immutable in c#?
What is a statement c#?
What is abstract class ?
What is object type in c#?
What is an iqueryable in c#?
What are virtual methods? How are they used?
What is a generic 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)