What is the Difference between Web User Control and Web
Custom Control?
Answers were Sorted based on User's Feedback
Answer / aaraaayen
Web User Controls:
1) Easy to Create
2) Limited support for consumers who use visual design tool
3) A seperate copy of the control is required in each
application.
4)Cannot be added to toolbox in Visual Studio.
5) Good for Static Layout
Web Custom Controls:
1) Harder to Create
2) Full support for consumers
3) Only a single copy of the control is required in the GAC
4)Can be added
5) Good for Dynamic Layout
| Is This Answer Correct ? | 15 Yes | 2 No |
web user control where it predefined attribute functionality
where it resides in control library
web custom control: where it is defined by user itself and
store in a custom library
| Is This Answer Correct ? | 13 Yes | 1 No |
Answer / saran
What are the basic differences between user controls and custom controls?
Now that you have a basic idea of what user controls and custom controls are and how to create them, let's take a quick look at the differences between the two.
Factors User control Custom control
Deployment Designed for single-application scenarios
Deployed in the source form (.ascx) along with the source code of the application
If the same control needs to be used in more than one application, it introduces redundancy and maintenance problems Designed so that it can be used by more than one application
Deployed either in the application's Bin directory or in the global assembly cache
Distributed easily and without problems associated with redundancy and maintenance
Creation Creation is similar to the way Web Forms pages are created; well-suited for rapid application development (RAD) Writing involves lots of code because there is no designer support
Content A much better choice when you need static content within a fixed layout, for example, when you make headers and footers More suited for when an application requires dynamic content to be displayed; can be reused across an application, for example, for a data bound table control with dynamic rows
Design Writing doesn't require much application designing because they are authored at design time and mostly contain static data Writing from scratch requires a good understanding of the control's life cycle and the order in which events execute, which is normally taken care of in user controls
| Is This Answer Correct ? | 6 Yes | 0 No |
Answer / kamalakannan.a
Plz refer the following link.It is very useful to know the
difference b/w User control and Custom control and also how
to create these controls.
http://support.microsoft.com/kb/893667
Kamal..........
| Is This Answer Correct ? | 3 Yes | 1 No |
Answer / developer525
What is the difference between User Control and Custom Control
Custom controls are compiled code(Dlls) easier to
use,difficult to create and can be place in toolbox. You can
drag and drop controls, Attributes of this control are
visually set at design time. A custom control can be used in
multiple application as shared DLLS. Any one can copy DLL of
custom control in bin directory and add reference and use
them. Normally custom controls are designed to provide
custom functionality independent of consuming application.
User controls are similar to those of asp include files easy
to create, can not be placed into the toolbox and dragged
dropped from it. A User controls can share single
application files. Normally designed to provided
functionality that is reusable for the particular application.
| Is This Answer Correct ? | 2 Yes | 0 No |
Answer / nitin
Web User Control inherits .NET class i.e
System.web.UI.UserControl
whereas web custom control does not do so.
| Is This Answer Correct ? | 2 Yes | 3 No |
What are the different types of applications supported in .net (or) .net framework?
What do you mean by deserialization?
what is common type system?
What do you mean by serialization and deserialization?
What are the difference between dispose(), close(), exit(), end()? When do we use them?
1234 123 12 1 how to design above pic in vb.net?
What is the relation between Garbage collector and finalize and destructor?
What is the difference between readonly variable and constant variable?
Explain some of the exclusive features which are present in vb?
hello thank you for replying to my question regarding adding barcode fonts in vb.net project. I have downloaded a free font and added in my vb.net project but now i dont know how to use that i need to generate barcodes can any body help me how to use those fonts these are font3of9 .i need a small code to use these fonts to generate barcode thank u!
how can we assigns items on listbox so that it will show rowwise please write the code for it.
In vb.net how to connect crystal report?
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)