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
1830
Manually Add Validation Errors
posted

I need to make row-level service calls that can have errors I'd like to incorporate into the DataPresenter's ErrorIcon display, just as with IDataErrorInfo errors.  Anyone know how to manually add errors such that they will be displayed by this validation mechanism?  My only option appears to be in the RecordUpdating event, and I'd like to be more elegant than MessageBox.Show().

Parents
No Data
Reply
  • 138253
    Offline posted

    Hello Darryl,

     

    Thank you for your post. I have been looking into and I can suggest you see the sample in the Feature Browser under xamDataGrid / Display / IDataErrorInfo Support section, which shows hot to add ErrorInfo on Cell, Record or Record and Cell level. Please let me know if this helps you or I have misunderstood you in some way.

     

    Looking forward for your reply.

Children