Using ASP.NET Web User Controls

At its simplest, you can think of an ASP.NET Web user control as something analogous to an include file. At the higher end of the spectrum, an ASP.NET Web user control can consist of complex code that is programmed to perform actions within any Web page that includes it.

Because this book is intended to be an introduction to Expression Web 4, not a programming manual, you’ll create and use an ASP.NET Web user control in the most elementary way possible. The user control will contain HTML content that you can include in ASP.NET pages by using a technique similar to the one you used for the design-time include earlier in this chapter.

Add an ASP.NET Web user control


Use the SampleSite site you opened in the previous ...

Get Microsoft® Expression® Web 4 Step by Step now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.