Skip to main content
  • 270 Accesses

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.

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

© 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

Publish with us

Policies and ethics