Chapter 13. Writing Controls for ASP.NET

In this chapter

Getting Started: Creating SimpleControl

Using Controls from the Toolbox

Adding Properties and Methods to Your Control

Creating and Using Composite Controls

In Chapter 6, “ASP.NET Controls,” I discussed ASP.NET server controls in great detail. The controls in Chapter 6 come with ASP.NET, but you might be ready to add your own controls for additional functionality. That’s what this chapter covers.

Creating ASP.NET server controls is easy. Creating reusable server controls makes your job as the developer much easier. You can easily reuse your code, and what’s more, the server controls abstract out much of the HTML content that often is interwoven into ASP/ASP.NET code.

In this chapter, I demonstrate ...

Get Special Edition Using® Microsoft® ASP.NET 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.