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: June 24, 2019).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

FormatString not working for some values

Thread ID:

Created:

Updated:

Platform:

Replies:

141704 Dec 28,2018 06:19 PM UTC Dec 31,2018 11:38 AM UTC Xamarin.Forms 1
loading
Tags: SfNumericUpDown
RODRIGO M JUAREZ
Asked On December 28, 2018 06:19 PM UTC

Hello!

I want to show some text for the SfNumericUpDown

If I use a format string = "of X" and X is a number other than zero, it works, but if X is 0 the value of the control replaces X

Example

FormatString = "of 0" and current value 4, will show "of 4"
FormatStirng = "of 9" and current value 7, will show "7 of 9"

Is this a bug?

Thanks In Advance

Dhanasekar R [Syncfusion]
Replied On December 31, 2018 11:38 AM UTC

Hi Rodrigo, 
 
Greetings from Syncfusion. 
 
We have validated your query  "Format string property of SfNumericUpDown".  When we set  "0" as a format string, then 0 will be considered as a Number for the SfNumericUpDown control. Whereas when we set format string as any other number or string, it will be considered as constants. Hence 0 gets changed when we change the SfNumericUpDown value by using + and - button. 
 
For more information about FormatString "0", please check on the below given link from Microsoft. 
 

Please let us know if you have any further clarifications on this. 
 
Regards, 
Dhanasekar 


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.

Please sign in to access our forum

This page will automatically be redirected to the 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

Live Chat Icon For mobile
Live Chat Icon