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

Why Use Web Server Controls?

You should use Web server controls for three simple reasons:

  • Simplicity

  • Uniformity

  • Productivity

Where each of these begins and ends is hard to define. I find that because of the uniform properties and methods across the base class, Web server controls are much simpler to use than HTML server controls. For instance, across all Web server controls the width property determines the width of the Web server control. This isn’t so with HTML server controls. For instance, with the HtmlInputText control you set the width of the control with the size property, but with the HtmlTextArea you set the width of the control with the Cols property. This can at the very least lead to confusion, which hampers productivity.

Additional ...

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