What is the Difference between Web User Control and Web
Custom Control?
Answer Posted / 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 |
Post New Answer View All Answers
What are the two main parts of .net?
What is the source code for display the picture in button click event?
Explain the use of console application?
Explain the difference between vb 6 and vb.net?
What are the different types of Lock available in Visual Basic?
What is the size of .net object?
What is deep copy?
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!
What is datatype conversion?
What keyword is used to accept a variable number of parameter in a method?
Can you please explain the difference between system.string and system.stringbuilder classes?
What is branching logic control in VB.NET?
Explain some of the exclusive features which are present in vb?
What is the diff between vb mdi form and .net mdi form?
List the two main parts of .net?