I am working with an UltraCombo control. I have loaded data into the control using the following code:
var table = new DataTable();
var column = new DataColumn("Codes"); table.Columns.Add(column);
DataRow row = table.NewRow(); row["Codes"] = "A"; table.Rows.Add(row);
row = table.NewRow(); row["Codes"] = "B"; table.Rows.Add(row);
row = table.NewRow(); row["Codes"] = "a"; table.Rows.Add(row);
row = table.NewRow(); row["Codes"] = "c"; table.Rows.Add(row); ultraCombo1.DataSource = table;
Then when a user types in a lower case "a", the combo box selects the upper case "A" from the values, instead of the lower case "a". If the user types a lower case "b", I really want the combo box to consider that a new value, not select the upper case "B".
So, I would like the combo box to be case sensitive, but could not find a way to do this.
Is there a property to define this sort of behavior.
Thanks,
Andy
I guess I should have waited a bit longer. I figure this one out myself. I did this by setting the following properties in the grid:
ultraCombo1.AutoCompleteMode = Infragistics.Win.AutoCompleteMode.None;
ultraCombo1.CharacterCasing = CharacterCasing.Normal;
and making the DataTable case sensitive:
table.CaseSensitive = true;