Basically I want to use some xaml similar to this to feed validation errors in the grid into my viewmodel.
It seems though, that the RadGridView don't have any support for Validation.HasError. So question is...is there any way to feed validation errors into a viewmodel without feeding the whole gridview into my viewmodel or using the events in codebehind? Basically some sort of property that's updated on the grid or similar when there are validationerrors?
<
Grid
>
<
i:Interaction.Triggers
>
<
ei:PropertyChangedTrigger
Binding
=
"{Binding (Validation.HasError), ElementName=BudgetGrid}"
>
<
ei:ChangePropertyAction
PropertyName
=
"HasBindingError"
TargetObject
=
"{Binding}"
Value
=
"{Binding (Validation.HasError), ElementName=BudgetGrid}"
/>
</
ei:PropertyChangedTrigger
>
</
i:Interaction.Triggers
>
<
telerik:RadGridView
x:Name
=
"BudgetGrid"
>
</
telerik:RadGridView
>
</
Grid
>
It seems though, that the RadGridView don't have any support for Validation.HasError. So question is...is there any way to feed validation errors into a viewmodel without feeding the whole gridview into my viewmodel or using the events in codebehind? Basically some sort of property that's updated on the grid or similar when there are validationerrors?