Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
150
ValueList Or UltraComboEditor case sensitivity
posted

Hi,

Has ValueList or UltraComboEditor become case sensitive ? It seems so as the following code used to work whether the valueMember was upper or lower case (my db collation is not case sensitive) - it doesn't anymore once migrated to 11.1 :

myUltraComboEditor.ValueList = GetValueList(paramEnum.Salutation)

where GetValueList is a method that returns an Infragistics ValueList :

Public Function GetValueList(ByVal sourceTable As ParamEnum) As ValueList

    Dim list As New ValueList With {.SortStyle = ValueListSortStyle.Ascending}
    Dim AddToList As Action(Of Object, Object, String) = _
        Sub(element, valueText, displayText)
            Dim item As ValueListItem = list.ValueListItems.Add(valueText, displayText)
            item.Tag = element
        End Sub
        Select Case sourceTable
            Case ParamEnum.Salutation: Repository.Salutation.ForEach(Sub(a) AddToList(a, a.Code, a.Name))
            'Case ...
    End Select
    Return list
End Function

 

Any idea or workaround ?

Thanks,

Xavier