This is a migrated thread and some comments may be shown as answers.

remain in append mode on error

1 Answer 34 Views
GridView
This is a migrated thread and some comments may be shown as answers.
Вадим
Top achievements
Rank 1
Iron
Iron
Вадим asked on 28 Jul 2019, 09:45 AM
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?

1 Answer, 1 is accepted

Sort by
0
Nadya | Tech Support Engineer
Telerik team
answered on 29 Jul 2019, 10:28 AM
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.
Tags
GridView
Asked by
Вадим
Top achievements
Rank 1
Iron
Iron
Answers by
Nadya | Tech Support Engineer
Telerik team
Share this question
or