O'Reilly logo

ASP.NET for Web Designers by Peter Ladka

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

What Are User Controls?

User controls are an answer to prayers we have been secretly been petitioning the web gods about. Include files have always been a semi-answer to simple code reuse in web pages, but there are several inherent problems with include files that have been powerfully addressed by User controls.

User controls are essentially reusable blocks of code focused for user interface purposes. They are available to reuse as common components across your web application. They aren’t magic or really any different than ASP.NET pages, except that they are created and formatted in a particular way so that they may be reused across your application.

As Clyde said earlier, SSIs (or Server Side Include files) partially filled this gap and provided ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required