asp.net.ph

EditCommandColumn.InitializeCell Method

System.Web.UI.WebControls Namespace   EditCommandColumn Class


Initializes a cell in an EditCommandColumn to its default state.

[ VB ]
Overrides Public Sub InitializeCell ( _
   ByVal cell As TableCell, _
   ByVal columnIndex As Integer, _
   ByVal itemType As ListItemType _
)

[ C# ]
public override void InitializeCell (
   TableCell cell,
   int columnIndex,
   ListItemType itemType
);

[ C++ ]
public: void InitializeCell (
   TableCell* cell,
   int columnIndex,
   ListItemType itemType
);

[ JScript ]
public override function InitializeCell (
   cell : TableCell,
   columnIndex : int,
   itemType : ListItemType
);

Parameters

cell
The cell to be initialized.
columnIndex
The index of the column.
itemType
One of the ListItemType values.

Remarks

The InitializeCell method resets a specified cell in an EditCommandColumn to its initial state.

Depending on the specified ButtonType, LinkButton or Button objects are created for all items in a DataGrid except the Header and Footer items.

See Also

EditCommandColumn Members   Adding EditCommand Columns to a DataGrid Control Skip Navigation Links




Home
Suggested Reading


Previous page Back to top Next page

© 2000-2010 Rey Nuñez All rights reserved.

If you have any question, comment or suggestion
about this site, please send us a note

You can help support asp.net.ph