This question is locked. New answers and comments are not allowed.
Hello,
Please help to customize row Validation using MVVM, without using RIA service.
1) I want to validate the entered data on row as per my requirement.
2) I am using DataTemplate.
> I have presented small code snippet of XAML
<syncControls:GridView ItemSource="{Binding MyItemSource}" <syncControls:GridView.Columns> <syncControls:GridViewDataColumn Header="Location Type" DataMemberBinding="{Binding LocationTypeCode, Mode=TwoWay, NotifyOnValidationError=true, ValidatesOnExceptions=true}"> <syncControls:GridViewDataColumn.CellTemplate> <DataTemplate> <TextBlock Text="{Binding LocationType, Mode=TwoWay}"/> </DataTemplate> </syncControls:GridViewDataColumn.CellTemplate> <syncControls:GridViewDataColumn.CellEditTemplate> <DataTemplate> <syncControls:ComboBox x:Name="uvLocationTypes" ItemsSource="{Binding LocationTypes, Mode=TwoWay}" DisplayMemberPath="Value" SelectedValuePath="Key" SelectedValue="{Binding LocationTypeCode, Mode=TwoWay}"> </syncControls:ComboBox> </DataTemplate> </syncControls:GridViewDataColumn.CellEditTemplate> </syncControls:GridViewDataColumn> </syncControls:GridView.Columns> </syncControls:GridView