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.
Unfortunately, activation email could not send to your email. Please try again.

How to retrive selected rows from GridDataBoundGrid

Thread ID:

Created:

Updated:

Platform:

Replies:

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

How can I programmatically retrive selected multiple rows for GridDataBoundGrid?

Thanks,
Vaibhav


Jisha Joy [Syncfusion]
Replied On September 6, 2010 05:48 AM

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 16, 2010 11:48 PM

Has been useful. Thank you.


Jisha Joy [Syncfusion]
Replied On September 17, 2010 08:36 AM

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.

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.

;