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,
Try something like this:
private void ultraCombo1_Enter(object sender, EventArgs e) { UltraCombo combo = (UltraCombo)sender; combo.Textbox.MaxLength = 5; }
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)?