Ext.Net MVC MultiCombo Deselect does not work

  1. #1

    Ext.Net MVC MultiCombo Deselect does not work

    In Ext.Net MVC Multicombo Dropdown does not uncheck the selected Item.

    Click image for larger version. 

Name:	MultiSelect.JPG 
Views:	7 
Size:	10.8 KB 
ID:	7265
    If you notice, I have selected One, Two, Three and de-selected two, but checkbox is still selected with Two.

    Html.X().MultiCombo().ID("cmbBStream").Width(90).Items(
                            new ListItem("All", 0),
                            new ListItem("One", 1),
                            new ListItem("Two", 2),
                            new ListItem("Three", 3)
                            )
                            .Editable(false)
    
                         )
    It works with WebForms but does not work with MVC.
    Attached Thumbnails Click image for larger version. 

Name:	MultiSelect.JPG 
Views:	7 
Size:	11.5 KB 
ID:	7264  
  2. #2
    Hi @RajivDutt,

    Please clarify what Ext.NET version are you using?
  3. #3

    Ext.Net MVC MultiCombo Deselect does not work

    Quote Originally Posted by Daniil View Post
    Hi @RajivDutt,

    Please clarify what Ext.NET version are you using?


    I am using Version 2.2.0. I was going through the release notes, it seems this particular issue has been fixed in the new version 2.3.


    Now, I need some more detail on this same example.
    When I select All, all checkbox should get selected and when I deselect All, all checkboxes should get deselected.

    Also Keyboard selection, User is not able to type shorthand i.e. O/T/OT/OTT in dropdown.

    Is there any documentation or way to provide All option as a part of control's property, which will handle the selection and de-selection of All.

    Thanks,
    Rajiv Dutt
    Last edited by RajivDutt; Dec 03, 2013 at 10:56 AM.
  4. #4
    There is no such built-in functionality.

    I would try to handle a MultiCombo's Select and BeforeDeselect events to achieve the requirement.
  5. #5

    Keyboard Selection

    Quote Originally Posted by Daniil View Post
    There is no such built-in functionality.

    I would try to handle a MultiCombo's Select and BeforeDeselect events to achieve the requirement.
    How to handle the keyboard selection?

    Also Keyboard selection, User is not able to type shorthand i.e. O/T/OT/OTT in dropdown.
  6. #6
    Quote Originally Posted by RajivDutt View Post
    How to handle the keyboard selection?
    Do you mean choosing an item be Arrow keys and pressing Enter? If so, the Select event should fire.

    Quote Originally Posted by RajivDutt View Post
    Also Keyboard selection, User is not able to type shorthand i.e. O/T/OT/OTT in dropdown.
    Seems here is a related thread:
    http://forums.ext.net/showthread.php?27470
  7. #7
    Quote Originally Posted by Daniil View Post
    There is no such built-in functionality.

    I would try to handle a MultiCombo's Select and BeforeDeselect events to achieve the requirement.
    Can you provide me sample code for this...

    Thanks in Advance.
    Rajiv Dutt
  8. #8
    Unfortunately, I don't have such an example. I can assist you with some specific issues if you face any.

Similar Threads

  1. [CLOSED] Multicombo deselect all problem
    By CarWise in forum 2.x Legacy Premium Help
    Replies: 3
    Last Post: Sep 17, 2013, 6:44 AM
  2. [CLOSED] MultiCombo can't deselect items
    By jchau in forum 2.x Legacy Premium Help
    Replies: 10
    Last Post: Sep 05, 2013, 2:14 PM
  3. Replies: 2
    Last Post: Jul 30, 2013, 1:44 PM
  4. Replies: 4
    Last Post: Aug 08, 2012, 6:28 PM
  5. Replies: 1
    Last Post: Feb 17, 2012, 7:22 AM

Tags for this Thread

Posting Permissions