Hi,
What is main difference between custom web user control and custom web server control in asp.net.
Thanks, in advance
Loading
Know the answer? Post it — somebody with the same question will find it here.
Sign in to answer this question
It is the same account you read, post and publish with — and you will come straight back to this page.
Prabhu RajaPosted Sep 7, 2011, 12:37 AM
Web user control :
1. Web user controls are easy to make, but they can be less convenient to use.
2. Web user controls are compiled dynamically at run time they cannot be added to the Toolbox
3. the only way to share the user control between applications is to put a separate copy in each application, which takes more maintenance if you make changes to the control
4. If your control has a lot of static layout, a user control might make sense
web custom control :
1. Web custom controls are compiled code, which makes them easier to use but more difficult to create.
2. Once you have created the control, however, you can add it to the Toolbox and display it in a visual designer with full Properties window support and all the other design-time features of ASP.NET server controls. In addition, you can install a single copy of the Web custom control in the global assembly cache and share it between applications, which makes maintenance easier.
-------------------------------------
is this helps you, then mark it as "Correct Answer"