This is a migrated thread and some comments may be shown as answers.

Force input to upper case

1 Answer 230 Views
MultiColumn ComboBox
This is a migrated thread and some comments may be shown as answers.
John
Top achievements
Rank 1
John asked on 09 Jan 2012, 11:05 PM
I'm trying to force the keyboard input into the MultiColumn ComboBox to upper case and limit it to 3 characters. I tried setting the 'ColumnCharacterCasing' and MaxLength' of the bound grid column, but this didn't work. Any suggestions?

1 Answer, 1 is accepted

Sort by
0
Accepted
Svett
Telerik team
answered on 12 Jan 2012, 10:06 AM
Hi John,

You should use the following code snippet to do that:

this.mccb.MultiColumnComboBoxElement.TextBoxElement.TextBoxItem.MaxLength = 3;
this.mccb.MultiColumnComboBoxElement.TextBoxElement.TextBoxItem.CharacterCasing = CharacterCasing.Upper;

I hope this helps.

Regards,
Svett
the Telerik team

SP1 of Q3’11 of RadControls for WinForms is available for download (see what's new).

Tags
MultiColumn ComboBox
Asked by
John
Top achievements
Rank 1
Answers by
Svett
Telerik team
Share this question
or