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

MarkFirstMatch / Autocomplete changed in 2008.3.1125?

4 Answers 141 Views
ComboBox
This is a migrated thread and some comments may be shown as answers.
Jon
Top achievements
Rank 1
Jon asked on 05 Dec 2008, 05:26 PM
Hi..
I have combo will is now behaving differently in the the new version.
I'm using matchfirst

In the old version if I tab to the combo and the existing values is 'Select' and start typing 'ABC' if will find ABC.
In the new version if I tabl to the combo and start typing 'ABC' the control displays 'ABCSelect' and no match is found.
I checked the properties and they are identical.. any ideas?
thanks

4 Answers, 1 is accepted

Sort by
0
Jon
Top achievements
Rank 1
answered on 08 Dec 2008, 02:23 PM
It works in 10-1 version and not in subsequent versions...........
0
Simon
Telerik team
answered on 08 Dec 2008, 05:13 PM
Hello Jon The Nerd,

Could you reproduce the issue in our live demos?

If not, could you specify the steps to reproduce the issue?

Kind regards,
Simon
the Telerik team

Check out Telerik Trainer, the state of the art learning tool for Telerik products.
0
Jon
Top achievements
Rank 1
answered on 08 Dec 2008, 05:29 PM
No.. your demo's work fine.

I have the following 2 combo boxes.. when the first is selected the second is populated.  In version 10-1 you tab over to the subCategory and press any key / Caps Insensitive - And it will find the first matching one...

So if the subcategory as the following values  '-Select , Apples, Oranges, Grapes' - if I tab over and press 'o'  (note lower case). - it goes straight to 'Oranges'

In version 10-25
If I tab over and press 'o'  - the control displays  'o-Select' - and does not find it.  If Caps Lock in On it works!!






 

<telerik:RadComboBox ID="cmbCATEGORY" runat="server" Width="275px"

 

 

Height="200px" ShowMoreResultsBox="True"

 

 

EnableLoadOnDemand="True" MarkFirstMatch="True"

 

 

Skin="Web20" AutoPostBack="True"

 

 

onselectedindexchanged="cmbCATEGORY_SelectedIndexChanged"

 

 

EnableEmbeddedSkins="False" Font-Size="12px" CausesValidation="false"

 

 

TabIndex="13">

 

 

<

 

CollapseAnimation Type="OutQuint" Duration="200"></CollapseAnimation>

 

 

</telerik:RadComboBox>

 

 

</td>

 

 

<td class="TD_Left" colspan="3">

 

 

<table class="style45">

 

 

<tr>

 

 

<td class="style46">

 

 

<asp:Label ID="Label44" runat="server" Font-Bold="False" Font-Names="Verdana"

 

 

Font-Size="Small" Text="Sub-Category:"></asp:Label>

 

 

</td>

 

 

<td>

 

 

 

 

<telerik:RadComboBox ID="cmbSUBCATEGORY" runat="server" Width="275px"

 

 

Height="200px" ShowMoreResultsBox="True"

 

 

EnableLoadOnDemand="True" MarkFirstMatch="True"

 

 

EnableVirtualScrolling="True"

 

 

Skin="Web20" EnableEmbeddedSkins="False" Font-Size="12px"

 

 

CausesValidation="false" TabIndex="14" >

 

<

 

CollapseAnimation Type="OutQuint" Duration="200"></CollapseAnimation>

 

 

</telerik:RadComboBox>

 

 



 

 

protected

 

void cmbCATEGORY_SelectedIndexChanged(object o, RadComboBoxSelectedIndexChangedEventArgs e)

 

{

 

try

 

 

 

 

 

{

 

// Sub Cateogry

 

 

 

 

 

 

this.cmbSUBCATEGORY.DataSource = TRUBLL.DataManager.GetSubCategories(Convert.ToInt16(this.cmbCATEGORY.SelectedValue));

 

 

this.cmbSUBCATEGORY.DataTextField = "NAME";

 

 

this.cmbSUBCATEGORY.DataValueField = "CATEGORYID";

 

 

this.cmbSUBCATEGORY.DataBind();

 

 

//Default the subcategory to General

 

 

 

 

 

 

this.cmbSUBCATEGORY.Text = "General";

 

 

this.cmbSUBCATEGORY.Focus();

 

 

}

 

catch (Exception eCat)

 

{

 

// Note (XXX): handling? do validation

 

 

 

 

 

 

this.cmbSUBCATEGORY.Items.Clear();

 

 

//this.cmbSUBCATEGORY.Text = string.Empty;

 

 

 

 

 

 

this.cmbSUBCATEGORY.Text = "Please Select Subcategory";

 

}

}

0
Simon
Telerik team
answered on 15 Dec 2008, 09:31 AM
Hi Jon The Nerd,

With the following ComboBox configuration

<telerik:RadComboBox ID="cmbSUBCATEGORY" runat="server" Width="275px" Height="200px" 
    ShowMoreResultsBox="True" MarkFirstMatch="True" AllowCustomText="true" 
    Skin="Web20" Font-Size="12px" CausesValidation="False" 
    TabIndex="14"
    <CollapseAnimation Type="OutQuint" Duration="200"></CollapseAnimation> 
    <Items> 
        <telerik:RadComboBoxItem runat="server" Text="- Select -" Value="- Select -" Selected="true" /> 
        <telerik:RadComboBoxItem runat="server" Text="Apples" Value="Apples" /> 
        <telerik:RadComboBoxItem runat="server" Text="Oranges" Value="Oranges" /> 
        <telerik:RadComboBoxItem runat="server" Text="Grapes" Value="Grapes" /> 
    </Items> 
</telerik:RadComboBox> 

when I tab to the control and type 'o' the correct Item is selected and the text becomes 'Oranges'. I am using Telerik.Web.UI 2008.3.1125.

Am I missing something in reproducing the issue?

Kind regards,
Simon
the Telerik team

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