This is a migrated thread and some comments may be shown as answers.

[Solved] How to get ColumnIndex, RowIndex and ItemIndex of given cell?

0 Answers 141 Views
GridView
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Virendra
Top achievements
Rank 1
Virendra asked on 21 Oct 2009, 07:30 AM
Hi,
In SelectionChanged event i want to know the ColumIndex, RowIndex\ItemIndex of the new cell

void radGrid_CurrentCellChanged(object sender, GridViewCurrentCellChangedEventArgs e)
 {
 int colIndex = e.NewCell; //how to get the column index of this cell
 int rowIndex = e.NewCell; //how to get the row index of this cell;
 int itemIndex = e.NewCell; //how to get the item index of this cell;

 }


thanks
kumar
Tags
GridView
Asked by
Virendra
Top achievements
Rank 1
Share this question
or