GeekInterview.com
  I am new, Sign me up!
 
GeekInterview.com  >  Interview Questions  >  Microsoft  >  ASP.NET 2.0
Go To First  |  Previous Question  |  Next Question 
 ASP.NET 2.0  |  Question 27 of 161    Print  
Diff between Web User Control and Web Custom Control.

  
Total Answers and Comments: 3 Last Update: September 12, 2008   
  
 Sponsored Links

 
 Best Rated Answer

No best answer available. Please pick the good answer available or submit your answer.
September 23, 2005 10:06:07   #1  
Praveen Kumar        

RE: Diff between Web User Control and Web Custom Contr...
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
 
Is this answer useful? Yes | No
September 28, 2007 02:06:21   #2  
vaibhav Tyagi Member Since: September 2007   Contribution: 10    

RE: Diff between Web User Control and Web Custom Contr...
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

 
Is this answer useful? Yes | No
September 12, 2008 04:09:55   #3  
mukta_aggarwal11 Member Since: September 2008   Contribution: 1    

RE: Diff between Web User Control and Web Custom Control.
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.

 
Is this answer useful? Yes | No


 
Go To Top


 Sponsored Links

 
About Us -  Privacy Policy -  Terms and Conditions -  Contact -  Ask Question -  Propose Category -  Site Updates 

Copyright © 2005 - 2009 GeekInterview.com. All Rights Reserved

Page copy protected against web site content infringement by Copyscape