Friday, September 21, 2007

Programatically highlight a row in Telerik RadGridView [ WinForms]

There are two ways to programmatically highlight a row:

Use the Row's IsCurrent property:

this.radGridView1.Rows[RowIndex].IsCurrent = true;

Use the GridViewInfo's CurrentRow property:

this.radGridView1.MasterGridViewInfo.CurrentRow = this.radGridView1.Rows[RowIndex];

1 comment:

Unknown said...

Thanks Buddy its
Work!