INotifyDataErrorInfo issues

3 posts, 0 answers
  1. Matthew
    Matthew avatar
    46 posts
    Member since:
    Aug 2011

    Posted 16 Nov 2011 Link to this post

    Implementing the INotifyDataErrorInfo interface is proving to be troublesome.

    When validating data in the PastingCellClipboardContent Event, adding an error for one of the properties is for some reason highlighting all fields instead of just the one with the error.

    agBillingItem Row = e.Cell.Item as agBillingItem;
    Row.AddError("SLA", "Invalid SLA", false);

    By adding the error for the "SLA" property, other properties such as "Obligation" are also displaying with the red border suggesting an error.  However when hovering over these other fields, the error message that is shown is "System.Collections.Generic.List `1 [System.String]".
  2. Gavin
    Gavin avatar
    8 posts
    Member since:
    Mar 2013

    Posted 17 Jul 2014 Link to this post

    I am also experiencing the same problem!  My business object has only 1 validation error on one of the property and every column of the grid is highlighted with a red border.  I am also using celltemplate and celledittemplate
  3. Dimitrina
    Dimitrina avatar
    3769 posts

    Posted 18 Jul 2014 Link to this post


    In order to only have validation in the cell you are currently editing, you can set :

    Check out Telerik Analytics, the service which allows developers to discover app usage patterns, analyze user data, log exceptions, solve problems and profile application performance at run time. Watch the videos and start improving your app based on facts, not hunches.
Back to Top