remain in append mode on error

2 posts, 0 answers
  1. Вадим
    Вадим avatar
    21 posts
    Member since:
    Mar 2016

    Posted 28 Jul 2019 Link to this post

    I add a line.
    In the method UserAddingRow produce a check for correctness
    if (e.Rows [0] .Cells [1] .Value == null)
                 {
                     AlertOperation (new string [] {"No degree specified", "0"});
                     e.Cancel = true;
                     return;
                 }

    But in this case, the error pops up and the line is added bodto.
    How to leave the old look or paint this cell red?
  2. Nadya
    Admin
    Nadya avatar
    344 posts

    Posted 29 Jul 2019 Link to this post

    Hi,

    I was not able to reproduce the observed behavior on my end. Could you specify which version you are using in your project? For convenience, I prepared a small sample project, based on the information that you provided so far and attached it to this thread. Could you please check it and let me know how it differs from your real setup? 

    I hope this helps. I am looking forward to your reply.

    Regards,
    Nadya
    Progress Telerik
    Get quickly onboarded and successful with your Telerik and/or Kendo UI products with the Virtual Classroom free technical training, available to all active customers. Learn More.
Back to Top