ASP.NET Controls

Topics relating to ASP.NET controls.
Web Development » ASP.NET Controls


General topics relating to ASP.NET controls.

A Self-Closing HtmlGenericControl
An easy way to add HTML controls to your webform at runtime is to use HtmlGenericControl. However, this class always renders both an opening and closing tag. This article presents a version that is self-closing.
By Jonathan Wood on Friday, March 4, 2011

Grid Controls
Articles about topics relating to ASP.NET grid controls.

Confirm Before Deleting GridView Item
Use this technique to efficiently confirm a delete operation with the user from controls such the GridView control.
By Jonathan Wood on Tuesday, December 7, 2010

User Controls
Articles that discuss web development with ASP.NET user controls.

A Random Image Rotator Control
Here's a web user control that will randomly rotate images from a list of image files. Each image file in the list can be flagged as active or inactive and the control will only display images flagged as active. Simply edit the file list to change which images are displayed on your website.
By Jonathan Wood on Saturday, October 27, 2012

An Error Message Control
All web applications should check for errors. But what's the best thing to do when one occurs? This handy little class makes reporting errors easy.
By Jonathan Wood on Monday, January 3, 2011