Why is invalid value being thrown?

Posted by Nathan Koop on Stack Overflow See other posts from Stack Overflow or by Nathan Koop
Published on 2010-03-29T18:50:42Z Indexed on 2010/03/29 18:53 UTC
Read the original article Hit count: 530

Filed under:
|

I've got a DevExpress TextEdit which is databound to a dataset.

The field is an optional percentage, (datatype double).

When the record gets loaded and there is no value in the field, everything is fine.

However, if you type something into the field (IE 100) and then want to remove it afterwards, I get an Invalid Value, error.

Why does this occur, and how can I remove it?

I do not have any mask or any sort of explicit validation on this field.

© Stack Overflow or respective owner

Related posts about devexpress

Related posts about textedit