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

ListBoxSelectionMode, MultiExtended not fully identical to ListBox behavior

Thread ID:

Created:

Updated:

Platform:

Replies:

101765 Nov 18,2011 11:46 PM UTC Nov 22,2011 09:37 AM UTC WinForms 1
loading
Tags: GridControl
Peter Lorenzen
Asked On November 18, 2011 11:46 PM UTC

In a ListBox that is set to MultiExtended, one can drag select, then press control, then left-click-drag a different rang to add to the existing selection.

With the Grid control, the first drag-select duplicates the behavior of a ListBox, but when you press and hold the control key, then drag some more, only the first item in the drag is selcted.

Example:
You have a ListBox and Grid with 14 items.
1. Click on item/row 2, holding left mouse button down, drag to item/row 6.
2. Release left mouse button.
3. Press and hold control key.
4. Left-click on item/row 9, holding left mouse button down, drag to item/row 12.

At the end of step 1, both ListBox and Grid show items/rows 2 through 6 selected.

At the end of step 4, a ListBox will show items/rows 2 through 6 and 9 through 12 selected.
At the end of step 4, the Grid will show items/rows 2 through 6 selected and item/row 9 selected.

Desired condition: at the end of step 4, both the Grid and ListBox should display the same - items/rows 2 through 6 and 9 through 12 selected.

Is there a way to exactly duplicate the behavior of the ListBox? Or do you need some sample code?


Dhamodharan [Syncfusion]
Replied On November 22, 2011 09:37 AM UTC


Hi Peter,

Thank you for using Syncfusion Product.

We have updated the details for your reported query in that incident 87670. Please refer the incident for better follow up

Let me know if you have any concern.

Regards,
Dhamodharan B



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

;