RadListControl Selection Issues When Re-Ordering

8 posts, 1 answers
  1. Andrew Powrie
    Andrew Powrie avatar
    17 posts
    Member since:
    Apr 2007

    Posted 21 Jul 2010 Link to this post

    When SelectionMode is set to 'MultiExtended' the RadDataItem.Selected property will behave as if the Mode is 'One' (clear all other selections).

    When SelectionMode is set to 'MultiSimple' and a RadDataItem is added witht the Selected property set to true then the RadDataItem will always show as selected but cannot actually be selected or de-selected. Also when the list is re-ordered then ActiveItem does not stay on the RadDataItem that was active before the re-order.
  2. Victor
    Admin
    Victor avatar
    1351 posts

    Posted 22 Jul 2010 Link to this post

    Hello Andrew Powrie,

    Thank you for writing.

    This is the proper behavior in MultiExtended mode because it was designed like this. MultiExtended at its core is the same as One but provides different modes depending on the modifier keys (CTRL and SHIFT). When setting an item to Selected and adding it to a collection it makes no sense to take into accound the CTRL and SHIFT keys since adding the item is not caused by mouse selection, and therefore behaves like One.

    Please share your thoughts on why should all the items be selected. If another vendor provides this behavior or if this is a particular requirement of yours we will consider adding a mode that will allow the adding of items in MultiExtended mode to behave as in MultiSimple.

    Also thank you for reporting the MultiSimple issue, it will be fixed for the upcoming Q2 2010 SP1 release. Your Telerik points have been updated.

    Please write again if you have other questions or if you need assistance with our controls.

    Kind regards,
    Victor
    the Telerik team
    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
  3. UI for WinForms is Visual Studio 2017 Ready
  4. Andrew Powrie
    Andrew Powrie avatar
    17 posts
    Member since:
    Apr 2007

    Posted 23 Jul 2010 Link to this post

    If you wanted to store what was selected in a MultiExtended list to to re-displayed later, then how would you programatically set the selected items?
  5. Answer
    Victor
    Admin
    Victor avatar
    1351 posts

    Posted 26 Jul 2010 Link to this post

    Good point, Andrew Powrie :)

    We will add a method that will allow programmatic multi-selection in MultiExtended mode.

    Please write again if you have other questions.
     
    Greetings,
    Victor
    the Telerik team
    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
  6. Alex
    Alex avatar
    8 posts
    Member since:
    Aug 2010

    Posted 31 Jan 2011 Link to this post

    Hello,
    It's VERY important for me to have the ability of multi - selection of items programmatically.
    Can you give some code for this? 

    I tried to change Selected property sequentially for some items, but only the last one item became selected.
    Also I've read all articles in this forum and didn't find anything that could help.

    Thanks.
  7. Stefan
    Admin
    Stefan avatar
    2891 posts

    Posted 03 Feb 2011 Link to this post

    Hello Andrew Powrie,

    Thank you for writing.

    After multi selection you can get all selected items by accessing the SelectedItems collection instead of the SelecteItem which contains only the last selected item.

    I hope this helps. Let me know if you need anything else.

    Kind regards,
    Stefan
    the Telerik team
    Q3’10 SP1 of RadControls for WinForms is available for download; also available is the Q1'11 Roadmap for Telerik Windows Forms controls.
  8. Alex
    Alex avatar
    8 posts
    Member since:
    Aug 2010

    Posted 07 Feb 2011 Link to this post

    Hello, again.

    I still need some code for setting selection for several items programmatically.
    I'm using RadListControl in MultiExtended mode.
    I just want to fill the list with data and to select programmatically several items (for example, 1st and 3rd).
    I can't wait until next release.
    Can you help me, please?
  9. Stefan
    Admin
    Stefan avatar
    2891 posts

    Posted 10 Feb 2011 Link to this post

    Hi Andrew Powrie,

    Thank you for your reply.

    This is already possible with the latest release of our suite. All you have to do is to add RadListControl, set the SelectionMode property to MultiExtended and select the desired items. See the attached project for the implementation.

    Let me know if you need anything else.

    Best wishes,
    Stefan
    the Telerik team
    Q3’10 SP1 of RadControls for WinForms is available for download; also available is the Q1'11 Roadmap for Telerik Windows Forms controls.
Back to Top
UI for WinForms is Visual Studio 2017 Ready