Disable Case Sensitive in Telerik Rad ComboBox

0 Answers 109 Views
Top achievements
Rank 1
Vaithilingam asked on 18 May 2023, 12:46 PM | edited on 19 May 2023, 10:43 AM
I have used a telerik Rad combobox in my ASP.NET web application.

With the help of stored procedure Rad combobox will list some user email-id's.

User will enter minimum 3 characters or paste the input mail in the Rad combobox.
It is failing for some scenarios.

For Example,
The user email id in stored procedure is "Abc@ymail.com".

When user manually typed as "abc@ymail.com", Rad combobox displays the exact match and
when user paste input value as "Abc@ymail.com" and while Left click on outside of the comboBox, it displays the exact match but
when user paste input value as  "abc@ymail.com" and while Left click  on outside of the comboBox, it is not displaying the exact match. 

I tried by changing input text value , rad ComboBox id value and Stored procedure values to lower.
But it doesn't meet my requirements and there is no impact on application.

Note: There is no issue in Stored Procedure, it returns the result inspite of Lower and Upper case.
Kindly suggest me a solution.

Thanks in Advance
Vaithilingam Alagappan
Attila Antal
Telerik team
commented on 23 May 2023, 09:36 AM

Hi Vaithilingam,

Can you confirm that you are using the ASP.NET WebForms ComboBox component?

Note that the ASP.NET MVC and ASP.NET WebForms are different technologies, and there are different UI components for each:

The filtering functionality of the WebForms ComboBox is not Case Sensitive, see Filtering, therefore, the problem might be related to the way it was configured and the data fetched from the database.

Can you show us how you have the ComboBox implemented in your app?

Top achievements
Rank 1
commented on 23 May 2023, 11:38 AM

Hi Attila Antal,

Sorry for the confusion

We are using 
ASP.NET WebForms

This is how we implemented Combobox in our application

                <div class="inline">
                    <div id="UserEmailContainer">
                        <telerik:RadComboBox ID="UsersComboBox" AllowCustomText="false" runat="server"
                            OnItemsRequested="OnItemRequested" OnClientItemsRequesting="OnClientItemsRequesting" EnableLoadOnDemand="True" OnClientSelectedIndexChanging="alertIfNotSavedAccountsExists"
                            EmptyMessage="Start typing user email here (at least 3 characters) ..." Width="350px" Height="350px" Filter="Contains" AutoPostBack="True"/>
                        <asp:HiddenField ID="hfexternalusrid" runat="server" />
Attila Antal
Telerik team
commented on 23 May 2023, 12:03 PM

Hi Vaithilingam.

Thanks for sharing the Combo markup. I would also need to see how the data is bound to the combo because that is the logic where you fetch and return data to the ComboBox based on the user input.

Please share the code from the following events:

  • OnItemRequested
  • OnClientItemsRequesting

Please include all the code that is used by/for the ComboBox so we can see what is being done.

Top achievements
Rank 1
commented on 24 May 2023, 09:47 AM

Sorry Attila Antal,

Its confidential
My organization won't allow us to share codes.
I explained the scenario

when user enter as  "Abc@ymail.com"  or  "abc@ymail.com" in rad combobox it list the exact match in dropdown. 

When user paste input email as "Abc@ymail.com" and while left click
it returns the exact match.

When user paste input email as "abc@ymail.com" and while left click 
it is not returning the exact match.

Issue is combobox not accepting input email with case change in f.irst letter of email

Attila Antal
Telerik team
commented on 24 May 2023, 09:53 AM

Hi Vaithilingam

I understand the problem you have described, but without seeing the code I am unable to tell what is going wrong. I also understand that there might be some sensitive information in the code, but you can always remove that. All I am asking is the code that is used to fetch data, and bind the results to the ComboBox, without the company-specific (sensitive information).

No answers yet. Maybe you can help?

Asked by
Top achievements
Rank 1
Share this question