ComponentOne GridView for ASP.NET AJAX: ComponentOne GridView for ASP.NET AJAX Overview > Upgrading From WebGrid for ASP.NET > Renamed Members

Renamed Members

The tables below note some of the classes and members that were changed, to better enable you to convert your projects to using the C1GridView control.

Classes and Enumerators

The following Classes and Enumerators in C1WebGrid have been renamed in C1GridView:

 

In C1WebGrid

In C1GridView

C1GridItem

C1GridViewRow

C1ListItemType

C1GridViewRowType*

GridUpdateBinding

C1GridViewUpdateBinding

C1BaseColumn

C1BaseField

C1BoundColumn

C1BoundField

C1ButtonColumn

C1ButtonField

C1CommandColumn

C1CommandField

C1Column

C1Field

C1HyperLinkColumn

C1HyperLinkField

C1TemplateColumn

C1TemplateField

C1BaseColumnCollection

C1BaseFieldCollection

GroupMoveEnum

GroupMove

GroupPositionEnum

GroupPosition

OutlineModeEnum

OutlineMode

RowMergeEnum

RowMerge

 

* The C1ListItemType enumerator is commonly used to identify rows in C1WebGrid at runtime. In C1GridView this enumerator has been renamed C1GridViewRowType and has the following differences:

      The AlternatingItem, EditItem, and Item members are now all combined in the C1GridViewRowType.DataRow member.

      Two new members of C1GridViewRowType are EmptyDataRow and Filter.

C1WebGrid Members

The following C1WebGrid properties have been renamed in C1GridView:

 

In C1WebGrid

In C1GridView

CurrentPageIndex

PageIndex

EditItemIndex

EditIndex

DataKeyField

DataKeyNames

PagerStyle-Mode

PagerSettings.Mode

 

The following C1WebGrid styles have been renamed in C1GridView:

 

In C1WebGrid

In C1GridView

AlternatingItemStyle

AlternatingRowStyle

EditItemStyle

EditRowStyle

ItemStyle

RowStyle

SelectedItemStyle

SelectedRowStyle

 

The following C1WebGrid events have been renamed in C1GridView:

 

In C1WebGrid

In C1GridView

CancelingCommand

RowCancelingEdit

DeletedCommand

RowDeleted

DeletingCommand

RowDeleting

EditingCommand

RowEditing

ItemCommand

RowCommand

ItemCreated

RowCreated

ItemDataBound

RowDataBound

SortedCommand

Sorted

SortingCommand

Sorting

UpdatedCommand

RowUpdated

UpdatingCommand

RowUpdating


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