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

FormatString is ignored when focused?

Thread ID:

Created:

Updated:

Platform:

Replies:

118081 Jan 29,2015 11:05 PM UTC Jan 30,2015 11:05 AM UTC WinRT 1
loading
Tags: SfNumericTextBox
Rei Takahashi
Asked On January 29, 2015 11:05 PM UTC

Cannot avoid showing commas while inputting.

Victory Jessie Selvam D [Syncfusion]
Replied On January 30, 2015 11:05 AM UTC

Hi Rei,

Thank you for using Syncfusion products.

We have prepared a workaround sample for ignoring the NumberGroupSeparator in SfNumericTextBox. In the sample, we have set the Culture.NumberFormat.NumberGroupSeparator to empty string, so that comma will be ignored in any case. Text entered in SfNumericTextBox will be parsed to value when focus change events are fired. So we couldn’t ignore comma when SfNumericTextBox is focused and include comma when SfNumericTextBox is lost focus in sample. Also setting FormatString property will not ignore comma in SfNumericTextBox when focused. Please find the sample and online documentation for FormatString property in following link,
http://help.syncfusion.com/UG/winrt/documents/numberformatting.htm

Sample:
NumericTextBox_FormatString.zip


Please let us know if you need further assistance on this.

Regards,
Jessie

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

;