Summary
In this chapter, you learned how to create some simple and some sophisticated user controls. You also saw how to load user controls dynamically and how to cache them. Though user controls are easy to create, they don’t solve every custom control challenge. In fact, user controls are quite limited in scope (they can’t be easily shared across applications), and they have limited design-time support (for example, you can’t attach event handlers in the Properties window). User controls also lack advanced features and aren’t well suited to rendering HTML and JavaScript on the fly. To improve on this situation, you can step up to custom controls, which are much more sophisticated and quite a bit more complicated to create. Chapter 27 describes custom controls.
Access this chapter
Tax calculation will be finalised at checkout
Purchases are for personal use only
Preview
Unable to display preview. Download preview PDF.
Rights and permissions
Copyright information
© 2005 Matthew MacDonald and Mario Szpuszta
About this chapter
Cite this chapter
(2005). User Controls. In: Pro ASP.NET 2.0 in C# 2005. Apress. https://doi.org/10.1007/978-1-4302-0064-2_14
Download citation
DOI: https://doi.org/10.1007/978-1-4302-0064-2_14
Publisher Name: Apress
Print ISBN: 978-1-59059-496-4
Online ISBN: 978-1-4302-0064-2
eBook Packages: Professional and Applied ComputingProfessional and Applied Computing (R0)Apress Access Books