Unplanned
Last Updated: 28 Aug 2024 13:57 by Leland
TacoWombat
Created on: 21 Jul 2022 09:25
Category: Grid
Type: Feature Request
16
Incell & Inline Editing must work with ValidationResult for custom validation attributes

When I override the IsValid method to return a ValidationResult the Incell & Inline edit modes allow the editing to be continued even if an invalid value is present. 

===

Telerik edit: A possible workaround is to cancel OnUpdate and possibly, OnEdit too. Here is a complete example:

https://blazorrepl.telerik.com/QyaWxkvv10stL8jB06

 

1 comment
Leland
Posted on: 28 Aug 2024 13:57
In addition to allowing the user to move to the next cell without correcting the invalid input, the k-invalid styling is replaced with k-valid styling if the user attempts to submit the record creation / update.  See this forum post for more details.