Custom Controls will enhance the user interface further. For example:
- by utilising ASP.NET controls not generated by any of the standard controls such as DataList and GridView controls
- by implementing ASP.NET composite controls that combine several ASP.NET controls into one such as a DatePicker control
- by implementing Third Party ASP.NET controls. Many Third Party controls for Data Entry, Validation and Date and Time are available on the market.
Custom Controls replace controls painted on the form as in the example below where the DatePicker control replaces a date field painted as a TextBox.
Below are a few examples of how custom controls can enhance the User Interface. See complete list of
custom controls delivered as part of the CTC ASP.NET WebForms Generator.
Date Picker

TextBox configured to be replaced with Date Picker for Date Fields
|
|

Standard TextBox Date Field

DatePicker Control replacing the TextBox Date Field
|
Included with the CTC ASP.NET WebForms Generator is a Visual Studio 2005 project containing examples of how to implement different types of custom controls, such as the DatePicker, a DataList control and a GridView control.
Data List
The DataList is an ASP.NET control often used instead of the standard ListBox. The DataList allows the user to style individual items within the list. Below is an example.

Standard ListBox Control
|
|

DataList Control replacing the Standard ListBox Control
|
Grid View
The GridView is another ASP.NET control used for displaying multi column lists. The GridView provides a large number of properties for styling headings and individual items within the list. Below is an example.

Standard ListBox Control with Multi Columns
|
|

GridView Control replacing the Standard ListBox Control
|
Web Chart
The example below shows how a Third Party control like the WebChart control from Component Art can replace the Standard ListBox and dynamically provide a chart from the data that otherwise would be displayed in the ListBox.

Standard ListBox Control with Multi Columns
|
|

WebChart Control replacing the Standard ListBox Control
|