CHAPTER 11

image

User Controls and Graphics

In this chapter, you’ll consider three ways to extend your web pages another notch.

First you’ll tackle user controls, which give you an efficient way to reuse a block of user-interface markup—and the code that goes with it. User controls are a key tool for building modular web applications. They can also help you create consistent website designs and reuse your hard work.

Next you’ll explore custom drawing with Microsoft Windows GDI+. You’ll see how you can paint exactly the image you need on demand. You’ll also learn the best way to incorporate a dynamic image into a web page.

Finally, you’ll look at the ...

Get Beginning ASP.NET 4.5 in C# now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.