ComponentOne GridView for ASP.NET AJAX: Using GridView for ASP.NET AJAX

Using GridView for ASP.NET AJAX

ComponentOne GridView for ASP.NET AJAX allows you to select, edit, delete, filter, and sort the items displayed in the table generated by the C1GridView component. GridView for ASP.NET AJAXalso supports paging, so data can be displayed across multiple pages, which are accessed by default or customized navigation buttons.

The columns of a table created using the C1GridView component correspond to the fields in a data source. You can control which columns are displayed, the types of columns to display, and the appearance of the whole table.

Using the AutoGenerateColumns property, you can generate columns automatically, manually, or both. Setting this property to True (default) creates a C1BoundField for each field in the data source. Setting this property to False allows you to specify the columns to display, which are added to the Columns collection.

Note: Explicitly declared columns are rendered first, followed by automatically generated columns. Automatically generated columns are not added to the Columns collection.

Class Hierarchy

The following list summarizes the class relationships between the more important classes included in the GridView for ASP.NET AJAX:

      C1.Web.UI.Controls.C1GridView.C1GridView : System.Web.UI.WebControls.WebControl
Encapsulates most of the grid functionality. This component is shown in the Visual Studio's Toolbox.

      C1.Web.UI.Controls.C1GridView.C1Field : System.Object
Base class for columns.

      C1.Web.UI.Controls.C1GridView.C1GridViewRow : System.Web.UI.WebControls.TableRow
Grid items.

      C1.Web.UI.Controls.C1GridView.C1GridViewRowCollection : System.Collections.CollectionBase
Collection of items.

      C1.Web.UI.Controls.C1GridView.PagerStyle : System.Web.UI.WebControls.TableItemStyle
Style of the Pager. Determines if and how the pager is displayed.

      C1.Web.UI.Controls.C1GridView.GroupInfo : System.Object
Used to determine how and where grouped header and footer rows are displayed.


Visual Styles

Keyboard Navigation

Editing Rows

Grouping

Sorting

Filtering

Paging

Using AJAX


Send comments about this topic to ComponentOne.
Copyright © ComponentOne LLC. All rights reserved.