开发者

Validation errors on grid not appearing

开发者 https://www.devze.com 2023-02-17 17:26 出处:网络
I have bound a DataGrid in Silverlight via WCF RIA services and have custom server-side only validators in place.When I edit the grid in a way that violates these custom validations and click a Submit

I have bound a DataGrid in Silverlight via WCF RIA services and have custom server-side only validators in place. When I edit the grid in a way that violates these custom validations and click a SubmitChanges button, the errors do not appear immediately. If I 开发者_StackOverflowclick around the field they will appear, but I thought they were supposed to show up right away. If I make my custom validator shared it works client-side without an issue. Do I need to call a method to make these validation errors appear?


This is happening because errors are tied to a specific row. Normally with client-side validators you cannot leave the current row until you have addressed errors.

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号