Hello Sir,
Is there a way to select first row in WebDataGrid programatically. I mean I want to select row zero as soon as I bind data to the WebDataGrid from ASP.Net code
Thanks
You can select the first row in the WebDataGrid by using the following code:
// TO SELECT A ROW
// Get selected rows
SelectedRowCollection selectedRows = this.wdgDatos.Behaviors.Selection.SelectedRows;
// Select row
selectedRows.Add(this.wdgDatos.Rows[0]);
To know more about selection behavior of Webdatagrid, please refer to the following link
http://help.infragistics.com/NetAdvantage/ASPNET/Current/CLR4.0/?page=WebDataGrid_Selection.html
it seem, the above solution doesn't work, i tried but all vain..
its worked :)