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

Format number to IP number

1 Answer 25 Views
NumericTextBox
This is a migrated thread and some comments may be shown as answers.
Ales Petric
Top achievements
Rank 1
Ales Petric asked on 09 Jan 2014, 01:56 PM
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

1 Answer, 1 is accepted

Sort by
0
Accepted
Kiril Nikolov
Telerik team
answered on 09 Jan 2014, 02:18 PM
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!
Tags
NumericTextBox
Asked by
Ales Petric
Top achievements
Rank 1
Answers by
Kiril Nikolov
Telerik team
Share this question
or