We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. Image for the cookie policy date
close icon

How to retrive selected rows from GridDataBoundGrid

How can I programmatically retrive selected multiple rows for GridDataBoundGrid?

Thanks,
Vaibhav


3 Replies

JJ Jisha Joy Syncfusion Team September 6, 2010 09:48 AM UTC

Hi Vaibhav,

You could achieve the desired behavior by Selections.GetSelectedRows method. Here is the code to get the Selected Rows.

GridRangeInfoList rangeList = this.gridDataBoundGrid1.Selections.GetSelectedRows(true, false);
foreach (GridRangeInfo range in rangeList)
{
Console.WriteLine(range);
}


Regards,
Jisha



VS Vaibhav Sanghavi September 17, 2010 03:48 AM UTC

Has been useful. Thank you.



JJ Jisha Joy Syncfusion Team September 17, 2010 12:36 PM UTC

Hi,

Thank you for your update.

Regards,
Jisha


Loader.
Live Chat Icon For mobile
Up arrow icon