Definition and differences of user and web user controls ?
I Want to know the what is difference between user controls and web user controls?
3 Answers
Know the answer? Post it. Somebody with the same question will find it here.
Know the answer? Post it. Somebody with the same question will find it here.
Answer a question in the forums and earn +20 SHARP for every answer.
See unanswered questions
DevSocialUpcoming · 3rd editionAI Agents ConferenceDec 1–3, 2026Live onlineFree to attend5days leftRegister
Akshay PhadkeRank #161 · 14.6K reputationPosted Jun 9, 2016, 8:30 AM EDT
Sonu ChaudharyRank #1,045 · 1.8K reputationPosted Jun 9, 2016, 12:59 PM EDT
UserControl: A custom control, ending in .ascx, that is composed of other web controls. Its almost like a small version of an aspx webpage. It consists of a UI (the ascx) and codebehind. Cannot be reused in other projects by referencing a DLL.
WebControl: A control hosted on a webpage or in a UserControl. It consists of one or more classes, working in tandem, and is hosted on an aspx page or in a UserControl. WebControls don't have a UI "page" and must render their content directly. They can be reused in other applications by referencing their DLLs.
suresh suri9 reputationPosted Jun 9, 2016, 5:45 PM EDT