Hi
I am using UltraCombo for both Add new and Edit purposes.
I need to put maximum limit to the text user can enter in UltraCombo when entering new value.
Is there any property similar to "MaxLength" property of a TextBox with which I can prohibit user from entering long texts?
Thanks
Shivangi
Hi Shivangi,
No, there's no way to set this at design-time.
You should Submit a feature request to Infragistics.
Thanks Mike,
I need to set this value of text to match it with maximum value allowed in the database.
I uses .TextBox.MaxLength property as you suggested and it works ok.
Is there anyway I can set this property with out writing a code for it (In property window)?
Try something like this:
private void ultraCombo1_Enter(object sender, EventArgs e) { UltraCombo combo = (UltraCombo)sender; combo.Textbox.MaxLength = 5; }