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
295
Disable Ultragrid Validation popups when pasting from Excel
posted

Hi,

I'm working on an application where I copy data from excel into an ultragrid.

When I paste wrong data (for example I paste a string into a column that expects an integer) I get a popup from the ultragrid displaying the paste error.

I want to make my own validation without popups.

Is there a way to turn these popups off?

greetings

Gert

Parents
  • 295
    Verified Answer
    posted

    Found a solution.

    This is what solved it:

     private void ugData_Error(object sender, Infragistics.Win.UltraWinGrid.ErrorEventArgs e)
            {
                e.Cancel = true;
            }

Reply Children
No Data