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
220
Unable to Suppress Default Error Message
posted

Hi,

  I am using Infragistic Ultra Win Grid 7.2

   I have set a column 'X' as not null. And i am trying to call Grid.Row.UpdateData() method with a row which has Column 'X' as null/Empty Value

  I have set the e.RaiseErrorEvent=false in the Grid_CellDataError Event and e.Cancel=true in the Grid_Error Event

 But still i am getting the default Error Message like '''Empty cell value not allowed in column x'

Kindly help me to resolve this issue

Thanks

R.Vasanth

 

Parents
No Data
Reply
  • 1800
    posted

    You need to set

    e.Cancel = true;

    in grid_error event rather than setting in grid_cellDataError event.

    You can use the event argument "e" which has DataErrorInfo property to change the message need be.

    Hope this helps!

Children
No Data