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.

Format issue

Thread ID:

Created:

Updated:

Platform:

Replies:

120296 Sep 18,2015 05:58 AM Sep 21,2015 06:36 AM WPF 1
loading
Tags: DoubleTextBox
Basavaraj Angadi
Asked On September 18, 2015 05:58 AM

Hi 

I am working on Double TextBox with 3 Decimal Places. Displaying as "0.000",

Query : 
1. Suppose the text displayed as "3.142" and If I Remove 2 (last digit) using BackSpace from KeyBoard , "0" is replaced in that location  "3.140",, , I want it be be displayed as "3.14" and after tabout ( When Not in edit Mode) I am want o Apply the Format to Double text box as "3.140".


I mean when Double textBox is in Edit Mode , I dont want to Apply Format , Only after Tabout I want to Apply Tabout.

2.  Text dispalyed "6.359", On BackSpace at "6" position , "0" is

Allow free editing when inputting numbers. Do not display trailing 0's but do limit to numerical input and 3 decimal places.

I am seeing the same behaviour in SyncFusion Samples.

NOTE: Format should be applied on TabOut , Not on Deleting Digits

Waiting for Reply




Muthukumar A [Syncfusion]
Replied On September 21, 2015 06:36 AM

Hi Basavaraj,

Thank you for contacting Syncfusion support.

Since we are formatting the entered values in key down state itself, "Formatting after lostfocus only" is not possible with our DoubleTextBox.

Please let us know in case of any other query.

Regards,
Muthukumar A

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.

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.

;