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.
Syncfusion Feedback

DataboundGrid IsSelected Method

Thread ID:

Created:

Updated:

Platform:

Replies:

26326 Mar 21,2005 01:22 PM UTC Mar 22,2005 12:38 PM UTC Windows Forms 2
loading
Tags: GridControl
Prof DISSOU Jamâl-Dine
Asked On March 21, 2005 01:22 PM UTC

Hi, Please, what is equivalent for DataGrid.IsSelected (row selected by user) method for DataBoundGrid Best regards, Jamal-Dine DISSOU

Administrator [Syncfusion]
Replied On March 21, 2005 05:48 PM UTC

If you have ListBoxSelectionMode set, you can use code like this to see if a rowIndex is selected. bool isSelected = this.gridDataBoundGrid1.Selections.GetSelectedRows(true, false).AnyRangeContains(GridRangeInfo.Row(rowIndex)); In general, you check the grid.Selections.Ranges collection for handling selections.

Prof DISSOU Jamâl-Dine
Replied On March 22, 2005 12:38 PM UTC

Thanks Jamal-Dine DISSOU

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

;