Skip to main content

Custom Server Controls

  • Chapter
Pro ASP.NET 3.5 in C# 2008
  • 303 Accesses

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.

This is a preview of subscription content, log in via an institution to check access.

Access this chapter

Chapter
USD 29.95
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
eBook
USD 44.99
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever

Tax calculation will be finalised at checkout

Purchases are for personal use only

Institutional subscriptions

Preview

Unable to display preview. Download preview PDF.

Unable to display preview. Download preview PDF.

Rights and permissions

Reprints 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

Publish with us

Policies and ethics