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

Problem when setting NullValue to null

1 Answer 12 Views
NumericUpDown
This is a migrated thread and some comments may be shown as answers.
Patrick
Top achievements
Rank 2
Veteran
Iron
Patrick asked on 17 Dec 2013, 03:11 PM
Hello,
when setting the NullValue property to null. the control generates a NullReferenceException.
Patrick

1 Answer, 1 is accepted

Sort by
0
Kalin
Telerik team
answered on 18 Dec 2013, 10:12 AM
Hello Patrick,

The NullValue property of the NumericUpDown is of type string and accept strings, so you should set it to empty string in order to show nothing:
<telerik:RadNumericUpDown NullValue="" />

However thanks for bringing this to our attention, I have logged it our internal backlog so it will be considered for fixing in the feature releases.

Hope this helps. I have also updated your Telerik points for your involvement.

Regards,
Kalin
Telerik
TRY TELERIK'S NEWEST PRODUCT - EQATEC APPLICATION ANALYTICS for SILVERLIGHT.
Learn what features your users use (or don't use) in your application. Know your audience. Target it better. Develop wisely.
Sign up for Free application insights >>
Tags
NumericUpDown
Asked by
Patrick
Top achievements
Rank 2
Veteran
Iron
Answers by
Kalin
Telerik team
Share this question
or