Document Added: Control Primer

by scott on April 14, 2009

Read Time: 15 Minutes

Synopsis: Many of the web server controls that ship with ASP.Net are very useful. However most require a good chunk of code with each use. We extended a few of these controls so we don’t have to do as much coding with each instance.

The biggest time-savers are in using the GridView and TextBox controls. In our GridView, all of the event-handlers for sorting and paging are built into the GridView itself so no additional work is required in each page. We also default the CSS definition so we don’t have to do that with each instance.
In TextBoxX, we package validators into the same control as the TextBox, so specifying something as required is as simple as setting a property of the TextBox itself.

Url: http://www.unifiedasp.net/index.php/unifiedasp-control-primer/

Share It:
  • Digg
  • del.icio.us
  • Facebook
  • Google
  • E-mail this story to a friend!
  • Netvibes
  • Ping.fm
  • Reddit
  • StumbleUpon
  • Technorati