Format number to IP number

2 posts, 1 answers
  1. Ales Petric
    Ales Petric avatar
    1 posts
    Member since:
    Sep 2013

    Posted 09 Jan 2014 Link to this post

    Hi

    I am trying to format number to IP format like 192.168.1.1 or 192.168.001.001

    $("#ip4").kendoNumericTextBox({
      format: "IP ###.###.###.###", /* works only if you input exact 12 numbers, works only if dot is thousand separator */
      decimals: 0
    });

    This is not the right way!
    I was searching kendo forum for text mask format but no luck. Does defining mask exists in kendo ?

    Thx

    By Ales
  2. Answer
    Ales Petric
    Ales Petric avatar
    1 posts
    Member since:
    Sep 2013

    Posted 09 Jan 2014 Link to this post

    Hello Ales,

    This functionality is not supported in the Kendo UI NumericTextBox, and unfortunately it does not support custom text masks. A widget called Mask Input, where custom masks could be added, will be released in the Q1 2013 release. The beta for it is scheduled for mid-February. You can check this in our Road map section:

    http://www.kendoui.com/web/roadmap.aspx

    Regards,
    Kiril Nikolov
    Telerik
    Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
  3. Kendo UI is VS 2017 Ready
Back to Top