Miłosz Cechnicki
Top achievements
Rank 1
Miłosz Cechnicki
asked on 16 Mar 2010, 10:06 AM
Hi,
is it possible, to force the RadComboBox to search values with case sensitive mode?
In our scenario 'titel' and 'TITEL' and 'Titel' are totally different values.
The RadComboBox definition looks like:
Thank you for your help.
is it possible, to force the RadComboBox to search values with case sensitive mode?
In our scenario 'titel' and 'TITEL' and 'Titel' are totally different values.
The RadComboBox definition looks like:
<telerikInput:RadComboBox x:Name="ctrlParameterValue" Margin="8,0,8,8" IsEditable="True" IsTextSearchEnabled="True" TextSearchMode="StartsWith" Style="{StaticResource AplusCRadComboBoxStyle}" /> |
Thank you for your help.
13 Answers, 1 is accepted
0
Hello MiĆosz,
RadComboBox does not support case sensitive search yet, but this looks like an "easy" feature, that could be implemented soon. I will do my best to provide it for the incoming internal build this Friday.
Kind regards,
Valeri Hristov
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.
RadComboBox does not support case sensitive search yet, but this looks like an "easy" feature, that could be implemented soon. I will do my best to provide it for the incoming internal build this Friday.
Kind regards,
Valeri Hristov
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.
0
GVera
Top achievements
Rank 1
answered on 07 Jul 2010, 04:19 PM
has this feature been added to RadComboBox WPF ?
0
Hi Gabriel,
Yes, the latest service pack has this feature. To use it you should set TextSearchMode=StartsWithCaseSensitive or ContainsCaseSensitive.
Sincerely yours,
Valeri Hristov
the Telerik team
Yes, the latest service pack has this feature. To use it you should set TextSearchMode=StartsWithCaseSensitive or ContainsCaseSensitive.
Sincerely yours,
Valeri Hristov
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
0
Corey
Top achievements
Rank 1
answered on 05 Oct 2011, 08:11 PM
I know this is an old thread but I would like to request that this feature be added to the ASP.NET AJAX controls both server and client side.
0
Hello Corey,
Could you please be a bit more specific - which function do you suggest to be case-sensitive: marking the first match, filter, or both?
Kind regards,
Simon
the Telerik team
Could you please be a bit more specific - which function do you suggest to be case-sensitive: marking the first match, filter, or both?
Kind regards,
Simon
the Telerik team
Explore the entire Telerik portfolio by downloading the Ultimate Collection trial package. Get it now >>
0
Corey
Top achievements
Rank 1
answered on 10 Oct 2011, 06:13 PM
What I'd like is for radComboBox.findItemByText to be optionally case insensitive. Here's what I built to handle this:
Similar functionality could also be useful on the server side.
In our scenario, we present the user a list of items to choose from and the ability to add another item if what they want is not in the list. If they add a new item, we try to match it to an existing value. If a match is found, we select that match otherwise we add a new item to the list and select it.
function
findComboItemByText(combo, text, caseInsensitive)
{
if
(combo && combo.get_items)
{
if
(!caseInsensitive)
{
return
combo.findItemByText($.trim(text));
}
else
{
var
items = combo.get_items();
var
searchText = $.trim(text.toLowerCase());
for
(
var
i = 0; i < items.get_count(); i++)
{
var
item = items.getItem(i);
if
($.trim(item.get_text().toLowerCase()) == searchText)
return
item;
}
// no item found
return
null
;
}
}
}
Similar functionality could also be useful on the server side.
In our scenario, we present the user a list of items to choose from and the ability to add another item if what they want is not in the list. If they add a new item, we try to match it to an existing value. If a match is found, we select that match otherwise we add a new item to the list and select it.
0
Hello Corey,
Thank you for the clarification.
I logged this into our backlog, so future versions of RadComboBox for ASP.NET AJAX will have the feature.
I also updated your Telerik points for the suggestion.
Greetings,
Simon
the Telerik team
Thank you for the clarification.
I logged this into our backlog, so future versions of RadComboBox for ASP.NET AJAX will have the feature.
I also updated your Telerik points for the suggestion.
Greetings,
Simon
the Telerik team
Explore the entire Telerik portfolio by downloading the Ultimate Collection trial package. Get it now >>
0
SlimSjakie
Top achievements
Rank 2
answered on 31 Jan 2013, 11:07 AM
Has this functionality "CaseInsensitive Search" been implemented yet?
0
Hello SlimmeSjakie,
I am afraid that this issue is not addressed yet.
Please accept our apologies for any inconvenience this may have caused you.
Regards,
Kalina
the Telerik team
I am afraid that this issue is not addressed yet.
Please accept our apologies for any inconvenience this may have caused you.
Regards,
Kalina
the Telerik team
Explore the entire Telerik portfolio by downloading Telerik DevCraft Ultimate.
0
Jerry
Top achievements
Rank 1
answered on 30 Jan 2014, 06:45 PM
I just added a RadComboBox to my asp.net winform. It has MarkFirstMatch="true", Filter="StartsWith" and
IsCaseSensitive="False". It is not case sensitive for most letters (15 in the out list of items), but others require that I enter a capital letter (A, E, L, S). Any suggestions?
IsCaseSensitive="False". It is not case sensitive for most letters (15 in the out list of items), but others require that I enter a capital letter (A, E, L, S). Any suggestions?
0
Hello Jerry,
Could you specify which version of our controls are you currently using?
Regards,
Nencho
Telerik
Could you specify which version of our controls are you currently using?
Regards,
Nencho
Telerik
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 UI for ASP.NET AJAX, subscribe to the blog feed now.
0
Kiran
Top achievements
Rank 1
answered on 03 Jul 2019, 08:18 PM
Hi,
How do I make radcombobox NOT case sensitive. Ignore if the list items are Lower or Upper case and return the result. I tried IsCasesensitive ="false" but no use.
<telerik:RadComboBox ID="cmbPlant" runat="server" AutoPostBack="true" CausesValidation="false" EmptyMessage="Select a Plant" Filter="Contains" Font-Size="14px" MarkFirstMatch="true" Skin="Black" IsCaseSensitive="false" > </telerik:RadComboBox>
0
Hello Kiran,
The IsCaseSensitive property is responsible for the autocomplete on the client-side, i.e. client-side filtering:
If the filtering is server-side, then the database query itself should be configured so that it disregards the case sensitivity.
Here is a screencast demonstrating the behavior of the following markup using the latest version of the Telerik UI for ASP.NET AJAX controls: http://somup.com/cqifQPecxs
If the issues persist, please open an official support ticket with a sample runnable project using dummy data that we can investigate locally.
Regards,
Peter Milchev
Progress Telerik
The IsCaseSensitive property is responsible for the autocomplete on the client-side, i.e. client-side filtering:
//
// Summary:
// Gets or sets a value that indicates whether the combobox autocompletion logic
// is case-sensitive or not.
[Bindable(
false
)]
[Category(
"Behavior"
)]
[ClientControlProperty]
[ClientPropertyName(
"isCaseSensitive"
)]
[DefaultValue(
false
)]
public
bool
IsCaseSensitive {
get
;
set
; }
If the filtering is server-side, then the database query itself should be configured so that it disregards the case sensitivity.
Here is a screencast demonstrating the behavior of the following markup using the latest version of the Telerik UI for ASP.NET AJAX controls: http://somup.com/cqifQPecxs
<
telerik:RadComboBox
ID
=
"cmbPlant"
runat
=
"server"
AutoPostBack
=
"true"
CausesValidation
=
"false"
EmptyMessage
=
"Select a Plant"
Filter
=
"Contains"
Font-Size
=
"14px"
MarkFirstMatch
=
"true"
Skin
=
"Black"
IsCaseSensitive
=
"false"
>
<
Items
>
<
telerik:RadComboBoxItem
Text
=
"Item 1"
/>
<
telerik:RadComboBoxItem
Text
=
"Item 2"
/>
<
telerik:RadComboBoxItem
Text
=
"Item 3"
/>
<
telerik:RadComboBoxItem
Text
=
"Item 4"
/>
</
Items
>
</
telerik:RadComboBox
>
If the issues persist, please open an official support ticket with a sample runnable project using dummy data that we can investigate locally.
Regards,
Peter Milchev
Progress Telerik
Get quickly onboarded and successful with your Telerik and/or Kendo UI products with the Virtual Classroom free technical training, available to all active customers. Learn More.