Abstract
Each type of custom control has its own advantages and disadvantages. In Chapter 15, you learned about user controls. User controls are easier to create than custom server controls, but server controls are far more powerful. Server controls beat user controls in two key areas: Server controls give you complete control over the HTML you generate: In other words, you can create a control such as the ASP.NET Calendar, which provides a single object interface but renders itself as a complex combination of elements.
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
© 2007 Matthew MacDonald and Mario Szpuszta
About this chapter
Cite this chapter
(2007). Custom Server Controls. In: Pro ASP.NET 3.5 in C# 2008. Apress. https://doi.org/10.1007/978-1-4302-0432-9_27
Download citation
DOI: https://doi.org/10.1007/978-1-4302-0432-9_27
Publisher Name: Apress
Print ISBN: 978-1-59059-893-1
Online ISBN: 978-1-4302-0432-9
eBook Packages: Professional and Applied ComputingProfessional and Applied Computing (R0)Apress Access Books