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

Radcombo On Lost Focus

2 Answers 129 Views
ComboBox
This is a migrated thread and some comments may be shown as answers.
Debraj
Top achievements
Rank 1
Debraj asked on 25 Mar 2009, 02:08 PM
Hi,

Please help me to resolve the Bug.



Scenerio:

In My RadCombo following item are exist...
                             1234 - Client
                             12345 - Client 2

When I put '123' and enter 'TAB' then in the combo box it show both value above mention.
                          ~ same like this --->  1234 - Client12345 - Client 2




<telerik:RadComboBox ID="cboCustomer" runat="server" AllowCustomText="false" Filter="StartsWith" 
                                                                MarkFirstMatch="true" AutoCompleteSeparator="None" OnClientFocus="OnClientFocus"
                                                                <CollapseAnimation Duration="200" Type="OutQuint" /> 
                                                            </telerik:RadComboBox> 
function OnClientFocus(combo, e)   
            {   
                combo.showDropDown(); 
            }  

2 Answers, 1 is accepted

Sort by
0
Debraj
Top achievements
Rank 1
answered on 26 Mar 2009, 04:44 AM

Can any one from TELERIK solve this problem...
0
Simon
Telerik team
answered on 26 Mar 2009, 03:51 PM
Hi Debraj,

I tried reproducing the issue with the following markup:

<body> 
 
    <script type="text/javascript"
        function OnClientFocus(combo, e)    
        {    
            combo.showDropDown();  
        } 
 
    </script> 
 
    <form id="form1" runat="server"
        <asp:ScriptManager ID="ScriptManager1" runat="server" /> 
        <div> 
            <telerik:RadComboBox ID="cboCustomer" runat="server" Filter="StartsWith" MarkFirstMatch="True" 
                AutoCompleteSeparator="None" OnClientFocus="OnClientFocus"
                <Items> 
                    <telerik:RadComboBoxItem runat="server" Text="1234 - Client" /> 
                    <telerik:RadComboBoxItem runat="server" Text="12345 - Client 2" /> 
                </Items> 
            </telerik:RadComboBox> 
        </div> 
    </form> 
</body> 

I clicked in the ComboBox, typed '123' and pressed TAB - the first Item was selected and its text autocompleted.

Please let me know if I have missed something in reproducing the issue.

Sincerely yours,
Simon
the Telerik team

Check out Telerik Trainer , the state of the art learning tool for Telerik products.
Tags
ComboBox
Asked by
Debraj
Top achievements
Rank 1
Answers by
Debraj
Top achievements
Rank 1
Simon
Telerik team
Share this question
or