View Server Side Validation Messages

2 posts, 0 answers
  1. EGOLF
    EGOLF avatar
    1 posts
    Member since:
    Apr 2015

    Posted 05 Sep 2017 Link to this post

    Hello friends.
    I am developing an application where client side uses Kendo UI plus JSDO components and the server side uses Progress Application Server for OpenEdge (PASOE). The application is entirely based on OERA best practices.
    I'm using a DataGrid with server side pagination for browsing through a CRUD records and editing is done on a KendoUI popup form. So far so good.
    Now I need your help to capture and display validation messages generated on the server side (EntityBusiness).
    The response of the PUT, POST, and DELETE HTTP requests in which validation errors occur contains the validation messages, I have already confirmed this when monitoring requests with the browser development components.
    How do I display these messages in the Kendo UI form? Better still, if possible, display each message next to the field with the invalid value.
  2. Konstantin Dikov
    Konstantin Dikov avatar
    2185 posts

    Posted 07 Sep 2017 Link to this post


    You can handle the "error" event of the dataSource, get reference to the server errors and handle the logic for displaying them to the user within the event. It is up to the developer to decide how to present those errors to the client:

    Best Regards,
    Konstantin Dikov
    Progress Telerik
    Try our brand new, jQuery-free Angular 2 components built from ground-up which deliver the business app essential building blocks - a grid component, data visualization (charts) and form elements.
Back to Top