This is a migrated thread and some comments may be shown as answers.

Validation and binding to a Nullable<T>

1 Answer 24 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Ian
Top achievements
Rank 1
Ian asked on 10 Dec 2009, 07:11 PM
Binding to a Nullable<long, int, etc.> causes an "Input is not in a correct format" message to appear on validated controls.

Is there anyway to turn this off? 

It would be nice for the Rad controls to have a property that allowed null values.  I only throw an exception in my nullable properties if there is a value and that value in turn meets certain conditions.

TIA,

Ian

1 Answer, 1 is accepted

Sort by
0
Kiril Stanoev
Telerik team
answered on 17 Dec 2009, 11:35 AM
Hello Ian,

First I'd like to apologize for the late reply. Could you please tell me with which control exactly do you manage to reproduce this issue. Also, it would be great if you can send us a sample project reproducing the problem so we can tackle it properly.


Regards,
Kiril Stanoev
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
Tags
General Discussions
Asked by
Ian
Top achievements
Rank 1
Answers by
Kiril Stanoev
Telerik team
Share this question
or