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

virtualgrid.Selections.Count =1 even when i am selecting multiple rows

Thread ID:





68363 Sep 19,2007 01:02 PM UTC Sep 24,2007 01:35 PM UTC WinForms 1
Tags: GridControl
Yeshwant Raut
Asked On September 19, 2007 01:02 PM UTC


I want to check number of rows selected in virtual grid for which i am making use of property virtualgrid.Selections.Count which returns me number of rows selected.

When i am using control and selecting two rows i am receving count as 2 but when i am making use of shift key for selecting multiple row it show count as one do i am making use of right property to check selected rows.

Let me known what might be the cause.


Rajarajeswari S [Syncfusion]
Replied On September 24, 2007 01:35 PM UTC


Thanks for using Syncfusion products,

In Virtual Grid The selected rows will come under a rangelist . Please refer the following code snippet which illustrates this,

private void button1_Click(object sender, EventArgs e)

GridRangeInfoList rangeList = this.gridControl1.Selections.GetSelectedRows(true, false);

Here, rangeList[0].Bottom denotes the row-index of the Bottom-Right corner of the cell range

Please let me know if this helps you,



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.

Please sign in to access our forum

This page will automatically be redirected to the sign-in page in 10 seconds.

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