3.15 Web User Controls and Web Custom Controls

 < Day Day Up > 



If you need to build an application using server-based controls, but none of those provided in ASP.NET are suitable, it is possible to create your own. Web user controls are generally easier to build than custom controls, but are more difficult to use since they cannot be added to the Visual Studio toolbox; instead, they are represented as a default icon or glyph when they are placed on a form. This provides a maintenance problem since the components cannot be shared, and each developer using them needs to have a copy of the control installed locally.

Web custom controls must be written in code, but they can then be added to the toolbox and used like any other control. In addition, the control can be placed in the global assembly cache and shared between applications.



 < Day Day Up > 



Microsoft  .NET. Jumpstart for Systems Administrators and Developers
Microsoft .NET: Jumpstart for Systems Administrators and Developers (Communications (Digital Press))
ISBN: 1555582850
EAN: 2147483647
Year: 2003
Pages: 136
Authors: Nigel Stanley

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net