I have the following TextEdit
When a user tries to change this value it first delete it and then type the new one.
But when it deletes it it's raising an error because the database field (EF object mapped) doesn't accept null values.
How can I show just the validating error icon next to textedit ?
Thank's for reply but it's not the best solution for me.
Indeed it's not raising any error but on LostFocus it raises.
And I need to see Validation in place.
I've even extended my Entity classes with IDataErrorInfo but with this kind of update it's not working.
With a new class implementing IDataErrorInfo it's working.
Any other ideas ?
I think it's something from Entity Framework
Is your intention to post an answer to your own question?
- If so, then proceed.
- If you simply wanted to post additional information, ask for further clarification, or to just say "Thanks!", please click Leave a Comment.
- If you wish to edit your original question, please use the Edit button in the Toolbox at the top right corner of that entry.