This is a migrated thread and some comments may be shown as answers.

AutoCompleteBox problem with Single Selection Mode and mouse click

1 Answer 89 Views
AutoCompleteBox
This is a migrated thread and some comments may be shown as answers.
Kenneth
Top achievements
Rank 1
Kenneth asked on 21 Oct 2014, 10:43 PM
Hi,

I have a very specific scenario when AutoCompleteBox does not work properly.

<telerik:RadAutoCompleteBox ID="TextBoxAutoCompleteEmployerName" runat="server"  
    MaxResultCount="10" MinFilterLength="3" InputType="Text" AllowCustomEntry="True" >
   <TextSettings SelectionMode="Single" />
   <WebServiceSettings Method="GetEmployerByName" Path="Employer.ascx" />
</telerik:RadAutoCompleteBox>

Steps to reproduce:

1. Open a page with an AutoCompleteBox
2. Input a filter until this filter matches an item on your list (case sensitive here)
3. Click on this item
4. Perform any postback operation
5. Note both AutoCompleteBox Text and Entries are empty in the code behind (although AutoCompleteBox was filled on the page itself)

On step 3, if instead of clicking the list item, I press tab or enter key, then I have no problem.

This is a really big problem! 

Has anyone experienced this before?
What did you do?

1 Answer, 1 is accepted

Sort by
0
Boyan Dimitrov
Telerik team
answered on 24 Oct 2014, 01:41 PM
Hello,

I was not able to replicate such problem with the RadAutoCompleteBox control. Please find attached a sample page that follows the provided code.

  1. Please type "Ani" in the input field so one item will be shown.
  2. Please select this item
  3. Click on the button "PostBack". It will initiate a post-back and the label control will print the RadAutoCompleteBox Text value in the Page_Load event handler.

Regards,
Boyan Dimitrov
Telerik
 

Check out the Telerik Platform - the only platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native mobile apps.

 
Tags
AutoCompleteBox
Asked by
Kenneth
Top achievements
Rank 1
Answers by
Boyan Dimitrov
Telerik team
Share this question
or