We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. (Last updated on: November 16, 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

Problem showing null value

Thread ID:





123576 Mar 31,2016 04:32 PM UTC Apr 1,2016 12:35 PM UTC WPF 1
Tags: UpDown
Asked On March 31, 2016 04:32 PM UTC


I'm using an UpDown control whose binded to a property of type int?.
I have defined the control like this:

 Value="{Binding ShowLastNTransactions}"

The UseNullOption property correctly works when the user delete the cell content (the binded property is correctly set to null and the content is cleared).
Otherwise, when the form is shown for the first time and the binded property is equal to null, the cell content is not shown empty but, instead, it contains the value "1".
What I have to do in order to have blank cell content at startup if the binded property is null?

Best regards,

Durga Rajan [Syncfusion]
Replied On April 1, 2016 12:35 PM UTC

Hi Silvio,

Thank you for contacting Syncfusion Support.

We have analyzed the reported issue "Could not bind the null value when binding property is type int". The type of the TextArea used in Updown control is double. When we use Nullable integer, the binding value cannot be parsed. So we suggest you to use Nullable double property to bind a value. We have attached the sample and you can download the same from the following attachment.  

Durga S.

Attachment: UpDown_Sample_642409f7.zip


This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

Please sign in to access our forum

or the page will be automatically redirected to sign-in page in 10 seconds.

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon