Diff between Web User Control and Web Custom Control.

Showing Answers 1 - 7 of 7 Answers

Praveen Kumar

  • Sep 23rd, 2005
 

Web user controls:1. Easier to create 2. Limited support for consumers who use a visual design tool 3. A separate copy of the control is required in each application 4. Cannot be added to the Toolbox in Visual Studio 5. Good for static layout Web Custom Controls:1. Harder to create2. Full visual design tool support for consumers3. Only a single copy of the control is required, in the global assembly cache4. Can be added to the Toolbox in Visual Studio5. Good for dynamic layout

  Was this answer useful?  Yes

I will point out main issue of Web user controls and web Custom controls
is that


Web user controls:  These are application specefic control.u have to add (.ascx) page                                     for making user controls.

Web Custom controls:  These are generalised components . after making custom                                              controls u may add them in Tool Box. and u them in                                                          Multiple Application. Justlike. Login Control

  Was this answer useful?  Yes

User control create for GUI purpose and it is form  of .ascx  and in aspx page you need to specify the src (Path) of the control.
Custom control is form of compiled form (assembly). For using this control you need to add referenct in your project. In aspx page your need to specify the Namespace and assembly name. Custom control is portable build in assembly can be used in any .Net application.

  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