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. (Last updated on: November 16, 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

How to retrive selected rows from GridDataBoundGrid

Thread ID:

Created:

Updated:

Platform:

Replies:

96297 Sep 3,2010 11:41 AM UTC Sep 17,2010 12:36 PM UTC ASP.NET Web Forms (Classic) 3
loading
Tags: GridGroupingControl
Vaibhav Sanghavi
Asked On September 3, 2010 11:41 AM UTC

How can I programmatically retrive selected multiple rows for GridDataBoundGrid?

Thanks,
Vaibhav


Jisha Joy [Syncfusion]
Replied On 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


Vaibhav Sanghavi
Replied On September 17, 2010 03:48 AM UTC

Has been useful. Thank you.


Jisha Joy [Syncfusion]
Replied On September 17, 2010 12:36 PM UTC

Hi,

Thank you for your update.

Regards,
Jisha


CONFIRMATION

This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon

;