Browse by Tags
All Tags » Validation (RSS)
-
Did you set the validation criterion using the validation provider on the cells of the datarow template?
For your last question you need to invoke the ValidationProvider.Validate() method to update the validation if you are using the manual mode.
You can choose when to invoke validation according to your needs.
If you want to invoke when the ...
-
Hi,
I try to use the CellValidationRule on a wpf grid. Looking at the document example I can see that there is a returned object: return new ValidationResult( true, null );
But return to which object? and how to get this ValidationResult accessible from a user control that contains the grid,before the UI get displayed?
looking at ...
-
Is there a way to know what cell is focused? After modifying some records with a validation rule, my idea is to change the
DataContext property with the copy of data (so the display will reload with all the changes) and then
set the focus on the corresponding cell by code.
In this way, the user can
continue using the keyboard for ...
-
So is there a way to know what cell is focused? My idea was to change the DataContext property with the copy of data (so the display will reload) and then set the focus on the corresponding cell by code. In this way, the user can continue using the keyboard...
-
Hi all,
On my grid, I have some validation rules that depending on the data entered, some data of the underlying dataset may change. There is no problem when the data changed belongs to cells at the right on the edited cell, but if it's in the left it doesn't reload (but the underlying dataset is actually changed).
I can force the reload ...
-
You could use ValidationRules as described in the Validating Data topic. The upcoming version of the grid will provide enhanced validation features, including support for IDataErrorInfo.
-
Hi Mike,
The ValidationMode property determines if cell content is validated when a cell exists edit mode or when a row does (by default, RowEndingEdit. I have corrected my working version of the documentation). That said, this property only applies when CellValidationRules have been provided to one or more columns (as demonstrated in example ...
|
|
|
|