What is the difference between custom web user control and a custom web server control?

Showing Answers 1 - 6 of 6 Answers

vikasvaidya

  • Aug 12th, 2007
 

A custom web server control is created by modifying the properties of existing control while custom web user control is mostly a complex control (consists of several controls).
A custom web server control is stored as an assembly which can be added to toolbar and a single can be shared by multiple applications while a custom web user control is only stored like a form (win or web) with extension .ascx. It can be added to toolbar and each project accessing a custom server control needs a separate copy of it.? In code behind of a custom web server control we have to override the Render(HtmlTextWriter output) method

Hope this would help
you?

kirangiet

  • Oct 21st, 2009
 

Web User Control:
1) Easy to Create.
2) It Can be used inside the same Application.(To use it in other application we need to add it to that project.)
3) It Can take advantage of Caching Technique.

Web Server Control:
1) Bit tuff to create as compare to User Control.
2) Easy to use.
3) Can be added to ToolBox.

  Was this answer useful?  Yes

Give your answer:

If you think the above answer is not correct, Please select a reason and add your answer below.

 

Related Answered Questions

 

Related Open Questions