Problems pressing enter key while focus on the combobox

3 posts, 0 answers
  1. Arambourg
    Arambourg avatar
    6 posts
    Member since:
    Jan 2009

    Posted 09 Jun 2010 Link to this post

    Hi,

    I've got a problem with my Comboboxes.
    Here is the code I use :

    <telerik:RadComboBox ID="RadComboBox1" Runat="server" Skin="Office2007"
    </telerik:RadComboBox> 

    Here is the code behind :

    protected void Page_Load(object sender, EventArgs e) 
       using (CiviliteBLL cBLL = new CiviliteBLL()) 
       { 
          this.RadComboBox1.DataSource = cBLL.GetAll(); 
          this.RadComboBox1.DataTextField = "Designation"
          this.RadComboBox1.DataValueField = "CoCivilite"
          this.RadComboBox1.DataBind(); 
       } 
    The problem occurs when I have the focus on my combobox. I select one item in my combobox. The element is selected, but when I press the Enter key, to validate my form and send my data, the selected changes and then, the last item of the combobox is selected.

    Why does it works like this? What can I do to avoid this problem.
    I saw that if I add these attributes :  Filter="Contains" MarkFirstMatch="true" ChangeTextOnKeyBoardNavigation="false"
    It works well but it's not the behaviour I want for my application because I don't want the client to write anything in the combo.

    Thanks in advance


  2. Simon
    Admin
    Simon avatar
    2281 posts

    Posted 14 Jun 2010 Link to this post

    Hi Arambourg,

    In order to verify whether such an issue exists with the latest version of RadControls I tested in this live demo. Pressing Enter on the second RadComboBox after selecting an Item worked fine.

    Can you please confirm that you are using the latest version of the Telerik.Web.UI assembly, namely 2010.1 519?

    Greetings,
    Simon
    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. Arambourg
    Arambourg avatar
    6 posts
    Member since:
    Jan 2009

    Posted 14 Jun 2010 Link to this post

    No, the actual version I'm using is 2009.3.1208.35
    I'll see if I can upgrade my RadControls version.
Back to Top