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
4695
ultraNumericEditor
posted

Dear all,

I am using Infragistics.Win.UltraWinEditors.UltraNumericEditor which has been set masked input, maxvalue and minvalue. When I have inputted something wrong, it will prompt with the sound.

I don't want the sound. I want the message box to show. How can I do??

Parents
No Data
Reply
  • 5520
    Suggested Answer
    posted

    use the event of ValidationError as follows 

     private void ultraNumericEditor1_ValidationError(object sender, Infragistics.Win.UltraWinEditors.ValidationErrorEventArgs e)

            {

                e.Beep = false;

                e.RetainFocus = true;

                MessageBox.Show("");

            }

Children
No Data