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

2 posts, 0 answers
  1. Shaun
    Shaun avatar
    16 posts
    Member since:
    Jul 2012

    Posted 17 Dec 2013 Link to this post

    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
  2. Shaun
    Shaun avatar
    16 posts
    Member since:
    Jul 2012

    Posted 17 Dec 2013 Link to this post

    Whoops, nevermind.

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

    Thanks,
    Shaun
  3. Kendo UI is VS 2017 Ready
Back to Top