This is a migrated thread and some comments may be shown as answers.

Kendoui Numeric Textbox - simple requirement: showing what the user entered

1 Answer 151 Views
NumericTextBox
This is a migrated thread and some comments may be shown as answers.
Shaun
Top achievements
Rank 1
Shaun asked on 17 Dec 2013, 08:19 PM
I have the following requirement:

* User Types 25.316  and tabs out ->  Control shows 25.316
* User Types -5 and tabs out -> Control shows -5
* User Types 16.4241 and tabs out -> Control shows 16.4241

How can I get the numeric textbox to meet this simple requirement?   It seems to always want to format or massage the data, but this is undesirable as I'm trying to use it to allow the user to enter latitude / longitude coordinates which can have a variable number of decimal places.

Am I missing something?

Thanks,
Shaun

1 Answer, 1 is accepted

Sort by
0
Shaun
Top achievements
Rank 1
answered on 17 Dec 2013, 08:30 PM
Whoops, nevermind.

Some additional searching led me to the answer which meets my requirement by using the following format:   '0.######'

Thanks,
Shaun
Tags
NumericTextBox
Asked by
Shaun
Top achievements
Rank 1
Answers by
Shaun
Top achievements
Rank 1
Share this question
or