Jeff
Posted
on Apr 5, 2012
(permalink)
I have a form with some fields. One of the fields is an ordinary TextBox that is bound to a variable of type Decimal.
When I type letters into the field, it's highlighted in red, to indicate that it has failed validation, but the validation error is not added to the form's ValidationSummary, and ValidationSummary.HasErrors remains True.
Am I simply misunderstanding what ValidationSummary is supposed to do?
Reply
Answer
Ivan Ivanov
Ivan Ivanov
Posted
on Apr 5, 2012
(permalink)
Hi Jeff,
Would you please shed some more light on your scenario? Are you using autogenerated fields, or custom DataTemplates? If it is the latter option, have set bindings' properties ValidatesOnExceptions and NotifyOnDataErrors to true? As we have never encountered such an issue with RadDataForm, it would very difficult for us to reproduce it by having such limited information. Would you please send us a small running project that reproduces this unwanted behavior?
Greetings,
Ivan Ivanov
the Telerik team
Explore the entire Telerik portfolio by downloading the Ultimate Collection trial package. Get it now >>
Reply
Jeff
Posted
on Apr 5, 2012
(permalink)
The circumstances in which this is happening are complicated.
I tried a simple example, and the validation error displayed properly.
I'm going to start adding in the complications, one at a time, until something breaks. It's likely to take a while.
==== edited ====
I found the problem.
Reply