Can't Clear RadComboBox and other strange issues

3 posts, 0 answers
  1. Imran
    Imran avatar
    1 posts
    Member since:
    Oct 2011

    Posted 12 Oct 2011 Link to this post

    We are allowing users to choose multiple employees separated by semi-colons from a large list of employees, similar to the way MS Outlook allows you to choose multiple people to send an email to.

    We are using a RadComboBox with an auto complete separator allowing us to choose multiple items from the combo box.


    ID="cmbAuthors" runat="server"     

    Width="400px" Height="140px"    

    EmptyMessage="Type an author"         

    MarkFirstMatch = "true"   

    AutoCompleteSeparator = ";"

    DataTextField="fullname"    >                                                                   


    We are seeing a bunch of strange stuff happen:
    1) If you have nothing selected in the combobox and move to the next control, the first item is selected.
    2) If you choose a couple of names from the drop down, hit semi-colon, and then tab to the next control, the first item in the dd is appended to the list.
    3) If you just try to highlight everything in the text box and delete it in order to start over, some combination of what you originally had in the box reappears, sometimes just the last item you had choosen appears, sometimes the entire previous selection reappears.

    This seems like a simple use case, anyone else seeing this behavior or have some tips.

  2. Shinu
    Shinu avatar
    17764 posts
    Member since:
    Mar 2007

    Posted 14 Oct 2011 Link to this post

    Hello Imran,

    I am unable to reproduce your issue on my end.You can make sure that the property "AllowCustomText" is set as true.You can also take a look into the following demo.

  3. Ivana
    Ivana avatar
    657 posts

    Posted 17 Oct 2011 Link to this post

    Hello Imran,

    You are right about the behavior described in scenarios under point 1) and 2). 
    To deal with this kind of behavior, you could set the AllowCustomText property of the RadComboBox  to "true".

    However, I could not reproduce the scenario under point 3). Could you please check whether there is a change in the behavior when the AllowCustomText  property is set?

    All the best,
    the Telerik team
    If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to their blog feed now
Back to Top