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
1315
UltraCombo Maximum Text Length
posted

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

 

Parents
No Data
Reply
  • 469350
    Suggested Answer
    Offline posted

    Hi Shivangi, 

    Try something like this:


            private void ultraCombo1_Enter(object sender, EventArgs e)
            {
                UltraCombo combo = (UltraCombo)sender;
                combo.Textbox.MaxLength = 5;
            }

Children