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
1705
How can I override the default data validation message boxes?
posted

I have a grid that's bound to a BindingSource<MyApplicationsBusinessObjects>, and I see the Infragistics data validation messageboxes, such as "Unable to update the data value: object of type X cannot be converted to type Y". 

I'd like to implement my own messageboxes and data validation.  How do I do this?

  • 469350
    Verified Answer
    Offline posted

     Try trapping the Error or CellDataError event of the grid. The event arguments have a property that controls whether or not to display the default message. So you can cancel the message and display your own.