Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
400
Restricting user from entering a duplicate value
posted

Hi,

   I am binding a BindingList<T> to a XamDataGrid . Now whenever a new row is added I have to ensure that a particular field (say ID) doesn’t have a duplicate value present in the collection. I tried to set IsPrimary = true on Field, but it doesn’t work. Do xamDataGrid support this feature. 

I know i can use the validators in Editors or user IDataErrorInfo on class, but this type of validation is not suited at Model level. It good if it is driven by View/Control or ViewModel.

Thanks,

Deep

 

Parents
No Data
Reply Children
No Data