Interview Questions

what is the difference between user control an custom control? advantages/disadvantages?

.NET Interview Questions and Answers


(Continued from previous question...)

what is the difference between user control an custom control? advantages/disadvantages?

Web user controls Vs Web custom controls
Easier to create Vs Harder to create
Limited support for consumers who use a visual design tool Vs Full visual design tool support for consumers
A separate copy of the control is required in each application Vs Only a single copy of the control is required, in the global assembly cache
Cannot be added to the Toolbox in Visual Studio Vs Can be added to the Toolbox in Visual Studio
Good for static layout Vs Good for dynamic layout

http://msdn.microsoft.com/library/default.asp?url=/library/ en-us/vbcon/html/vbconwebusercontrolsvscustomwebcontrols.asp

(Continued on next question...)

Other Interview Questions