<igGrid:UnboundColumn Key="UNBOUND" ValueConverter="{StaticResource ConvertValue}"> <igGrid:UnboundColumn.EditorTemplate> <DataTemplate> <TextBox Text="{Binding RowData.Value, Mode=TwoWay}"/> </DataTemplate> </igGrid:UnboundColumn.EditorTemplate> </igGrid:UnboundColumn>
Above is my column definition. The Value's type is Decimal. If I enter some garbage in the text box, such as "ASdf" I expect to see some validation error. The error is shown for a TextColumn.
I am using a ValueConvertor because the displayed value is dependent on the value in a different column.
HI,
Please let me know if you need further assistance regarding this case.
Sincerely, Matt Developer Support Engineer
Thanks!
The key was NotifyOnValidationError. I had set ValidatesOnExceptions but did not see NotifyOnValidationError.
Hi,
You should enable validation on your editor binding:
<DataTemplate> <TextBox Text="{Binding RowData.Value, Mode=TwoWay, NotifyOnValidationError=True, ValidatesOnExceptions=True}"/> </DataTemplate>
Hope this helps,