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

SfNumericTextBox Bonding Null value

Thread ID:

Created:

Updated:

Platform:

Replies:

115039 Dec 19,2013 01:27 PM UTC Sep 6,2016 10:25 AM UTC WinRT 4
loading
Tags: SfNumericTextBox
Raphael Mina
Asked On December 19, 2013 01:27 PM UTC

Hi,

I'm using the SfNumericTextbox binding his "Value" property to a dependency property inside my user control.

A "0" appears every time I click on the SfNumericTextbox, even if the default value of my DP is null. How can I prevent this "0" to appear ?

It's a issue because the cursor is placed before this "0", so when I want to put the 54 value for exemple, it displays 540.

Thanks in advance, Rafi.

Victory Jessie Selvam D [Syncfusion]
Replied On December 20, 2013 07:23 AM UTC

Hi Raphael,

Thanks for using Syncfusion products.

Query #1: A "0" appears every time I click on the SfNumericTextbox, even if the default value of my DP is null. How can I prevent this "0" to appear ?
We have prepared a sample to achieve this requirement. In the attached sample we have set AllowNull property to true for accepting null values and to prevent "0" if Value is null.

Query #2: It's an issue because the cursor is placed before this "0", so when I want to put the 54 value for example, it displays 540
We are unable to reproduce the reported issue in attached sample. Please provide us more information by modifying this sample to reproduce your problem. So that it will be helpful for us to analyse and provide you accurate solution.

Please let us know whether the provided sample resolves your problem.

Regards,
Victory



NumericTextBox_a2ed4835.zip

Vignesh V [Syncfusion]
Replied On December 20, 2013 11:27 AM UTC

Hi Raphael,

Query 2:It's an issue because the cursor is placed before this "0", so when I want to put the 54 value for example, it displays 540

We have checked in versions descendingly until 11.3.0.30 versions and we are unable to reproduce the reported problem. please provide us your working version so that we can analyse  based on that.

Please let us know if you have any queries.

Regards,
Vignesh V

Denis
Replied On September 5, 2016 10:18 AM UTC

Hi, how look attach file?

Priyanga Balasubramaniam [Syncfusion]
Replied On September 6, 2016 10:25 AM UTC

Hi Denis,

Sorry for the inconvenience caused.

We have prepared the new sample to meet your requirement.In this sample we have set AllowNull property to true for accepting null values and to prevent "0" if Value is null. Please download the sample from the below location.

Sample:NumericTextBoxSample

Regards,
Priyanga B

CONFIRMATION

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.

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

;