Web user controls enable you to easily define controls as you need them for your applications, using the same programming techniques that you use to write Web Forms pages.
Features:-
Easier to create
Limited support for consumers who use a visual design tool
A separate copy of the control is required in each application
Cannot be added to the Toolbox in Visual Studio
Good for static layout
Web Custome controls:-
Web custom controls are compiled components that run on the server and that encapsulate user-interface and other related functionality into reusable packages. They can include all the design-time features of standard ASP.NET server controls, including full support for Visual Studio design features such as the Properties window, the visual designer, and the Toolbox.
Features:-
Harder to create
Full visual design tool support for consumers
Only a single copy of the control is required, in the global assembly cache
Can be added to the Toolbox in Visual Studio
Good for dynamic layoutWhat is the diffrence between web user control and web custom control in ASP.NET?
A web User Control can either be an intrisic Web Browser Tool (i.e. Submit button, Combo Box, etc). A Web Custom Control is a specialized control that can either be a control visible to the user (a custom web user control), or innvisible (back end processing).
No comments:
Post a Comment