Hi,
How can I enable elements in XamComboEditor to be case sensitive? I want to add xyz and XYZ, but as soon as I start typing it selects the existing one by default ignoring the case.
Hello,
I have logged this behavior with our developers in our tracking system, with an issue ID of 118008. I have also created a support ticket on your behalf with number CAS-96973-VFPMT2 in order to link the development issue to it so that you are automatically updated when a Service Release containing your fix is available for download.
Sincerely,
Krasimir
Developer Support Engineer
Infragistics, Inc.
www.infragistics.com/support
When can we obtain the service release?
Can you please help with this.
Thanks
I am also facing this problem and have upgraded to InfragisticsWPF4.v12.2, Version=12.2.20122.2057. But does not seem to be solved.
Is there any workaround. Pls respond.
Anindya
Hello Anindya,
Thank you for your post. I have been looking into it and the issue that is the topic of this forum thread is fixed in the build that you are using. The issue was regarding the shared XamComboEditor, which is InfragisticsWPF4.Controls.Editors.XamComboEditor.v12.2.dll assembly and the issue was that when the CustomVlaueEnterdAction is set to Add, and an item with lowercase is added (for example “aaa”), you are not able to add the same item with uppercase (in this example “AAA”). I have create a sample application and tested it with the build that you are using (12.2.20122.2057). I am attaching the sample application and a video of the behavior that I am getting. You can see in the video, that I am able to add “aaa” and after that “AAA” is also added.
Please let me know if you can reproduce the issue with my sample application, and it not, please modify my sample application to show the issue, in order to be able to research what might be causing it.
Infragistics
Hi Krasimir,
Sorry for replying late to this ,as the problem has resurfaced. My problem is a bit different. Its a XamComboEditor in a XAmDatagrid. Hence I need to use the XamComboEditor which is derived from a ValueEditor (ie xmlns:igEditors="http://infragistics.com/Editors") . Now the problem is not in Adding new items. Its about user typing in values. Case sensitivity is ignored. Also sometimes selection of Uppercase with mouse is selecting lower case which is bad. I have an example attached. Hope that will help. Try to select AAA and you may see aaa getting selected sometimes. Also typing in using CAPS does not select the upcase.Let me know if there is any work around/fix to the issue.
Hello Aninadya,
Thank you for your reply and the sample application. I have been looking into it and the reason for not having a case sensitive search is that the IsTextSearchCaseSensitive property of the ComboBox of the XamComboEditor is false by default. In order to enable case sensitive searching, you can set the ComboBoxStyle property of the XamComboEditor to a Style for the ComboBox with IsTextSearchCaseSensitive set to true as follows:
<Style TargetType="{x:Type igEditors:XamComboEditor}">
<Setter Property="ComboBoxStyle">
<Setter.Value>
<Style TargetType="{x:Type ComboBox}">
<Setter Property="IsTextSearchCaseSensitive" Value="True"/>
</Style>
</Setter.Value>
</Setter>
I have modified the sample application that you have attached to show how you can implement this.
Please let me know if you need any further assistance on the matter.
Krasimir, MCPD
Developer Support Supervisor - XAML