This question is locked. New answers and comments are not allowed.
Zarko Petrovic
Top achievements
Rank 1
Zarko Petrovic
asked on 14 Apr 2011, 04:51 PM
Hello,
I am using Grid with Ajax binding with inline editing option. When there are validation errors on the row that I am trying to update, the field with an invalid value is marked red and that is OK.
But after that, when I click Cancel to quit row editing mode - the invalid value stays in the row until manual refresh of the grid. I think that grid should refresh after Cancel action so the value from database is shown in cells that were modified, but not saved.
Thank you,
Zarko
I am using Grid with Ajax binding with inline editing option. When there are validation errors on the row that I am trying to update, the field with an invalid value is marked red and that is OK.
But after that, when I click Cancel to quit row editing mode - the invalid value stays in the row until manual refresh of the grid. I think that grid should refresh after Cancel action so the value from database is shown in cells that were modified, but not saved.
Thank you,
Zarko
5 Answers, 1 is accepted
0
Zoli
Top achievements
Rank 1
answered on 21 Apr 2011, 12:32 PM
Hello,
I have the same problem, but I think it would be better if the grid shows original values, and after that I will manually refresh the grid.
Is there a solution to get back the original values?
Thanks
Zoli
I have the same problem, but I think it would be better if the grid shows original values, and after that I will manually refresh the grid.
Is there a solution to get back the original values?
Thanks
Zoli
0
Hi Zoltán,
Atanas Korchev
the Telerik team
You can refresh the grid by calling its ajaxRequest JavaScript method or rebind.
Regards,Atanas Korchev
the Telerik team
Do you want to have your say when we set our development plans?
Do you want to know when a feature you care about is added or when a bug fixed?
Explore the
Telerik Public Issue Tracking
system and vote to affect the priority of the items
0
Zoli
Top achievements
Rank 1
answered on 21 Apr 2011, 01:56 PM
Hello Atanas,
It would be a great solution for me, but how can I catch Cancel button's clientevent?
Thanks
Zoli
It would be a great solution for me, but how can I catch Cancel button's clientevent?
Thanks
Zoli
0
Zoli
Top achievements
Rank 1
answered on 21 Apr 2011, 02:10 PM
0
Zarko Petrovic
Top achievements
Rank 1
answered on 29 Apr 2011, 09:23 AM
It works great!
Thanks Zoltan!
Thanks Zoltan!