I have a problem with getting CurrentRow Index.
Both ways give me one result: -1
My GridView is bound with dataSet.
How can I get CurrentRow Index in DefalutValuesNeeded event?
Help for thanks.
Kuba
private
void
myRadGridView_DefaultValuesNeeded(
object
sender, Telerik.WinControls.UI.GridViewRowEventArgs e)
{
int
index = e.Row.Index;
int
index2 =
this
.myRadGridView.CurrentRow.Index;
}
Both ways give me one result: -1
My GridView is bound with dataSet.
How can I get CurrentRow Index in DefalutValuesNeeded event?
Help for thanks.
Kuba