TECHNOLOGIES
FORUMS
JOBS
BOOKS
EVENTS
INTERVIEWS
Live
MORE
LEARN
Training
CAREER
MEMBERS
VIDEOS
NEWS
BLOGS
Sign Up
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
Interviews
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
.NET
ADO.NET
Android
ASP.NET
C#
Databases & DBA
Design Patterns & Practices
Java
Learn iOS Programming
OOP/OOD
SharePoint
Software Testing
Web Development
WPF
View All
What is the Difference between User Control and Custom Control in ASP.NET
By
canuja
in
ASP.NET
on
Nov 28
2006
0
6.5k
1
Post Your Answer
Submit
Nov, 2006
28
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
1
Most Popular Job Functions
Developer (2376)
Programmer (1288)
Sr. Developer (826)
Sr. Programmer (449)
Fresher (398)
Tech Lead (378)
DBA (244)
Team Lead (187)
Project Lead (83)
Architect (28)
View All
MOST LIKED QUESTIONS
Why do you want to leave your current company?
What are the advantages of using REST in Web API?
What is ASP.NET Core?
How to iterate through ArrayList in jQuery?
What is the difference between TempData keep() and peek() function?
A class provides a default constructor for me. I write a constructor that takes a string as...
Can multiple catch blocks be executed in a C# program?
what is Sealed class
What were your responsibilities in your previous job ?
What Operating Systems Node.js Supports