Questions tagged [kendo-maskedtextbox]

A component of the Kendo UI framework

Masked textbox is a Kendo UI () component. Kendo API


Related tags

13 questions
3
votes
1 answer

Write 0 as masked textbox mask

I am using Kendo masked text box widget to mask the input. The input should be of form HR-D001-XXXX where "001" should actually be "001" and user shouldn't be able to write or edit that part of the field. The "XXXX" should be any four digits (that…
Hugibeer
  • 87
  • 1
  • 5
2
votes
1 answer

Kendo Mask Custom Rule

I've setup the following custom rule in a Kendo UI MaskedTextBox: rules: { "~": /[0-9#]/ } I thought this would allow 0-9 or # in the field, but the mask text of ~ shows up and the masked box won't let me enter anything. Where am I going…
Brian Mains
  • 50,520
  • 35
  • 148
  • 257
2
votes
2 answers

Is there a masked textbox for Kendo-UI

I have not found any kind of masked input support for KendoUI is there anything planned for a future release? Can I have access to a preview version?
orellabac
  • 2,077
  • 2
  • 26
  • 34
1
vote
0 answers

Dynamic allowed length in kendoMaskedTextBox

I need to use kendoMaskedTextBox to allow user type 3-4 numbers and prevent to type more. And I don't want to get spaces in value. When user enters 123, I need to get 123. I don't want to get 123_. I need to get it as value, because I'm using…
Raptor
  • 392
  • 1
  • 4
  • 21
1
vote
1 answer

Change the mask of Kendo MaskedTextBox in angular

I am using the below code to set up the Kendo MaskedTextBox In my angular Mask is initially set to empty and then I change it in a function. Example…
Anshuman Jasrotia
  • 3,135
  • 8
  • 48
  • 81
1
vote
0 answers

Html.Kendo().MaskedTextBox() with two length?

I have this MaskedTextBox:
@(Html.Kendo().MaskedTextBox() .Name("nationalityCode") …
samira riazati
  • 515
  • 7
  • 21
1
vote
1 answer

Kendo UI masked textbox - unable to change default prompt char

I am trying to change the default promptChar for a Kendo MaskedTextBox. I tried with code:

Enter a number

Vijay V
  • 13
  • 5
1
vote
5 answers

MaskedTextBoxFor loses value after submitting the MVC Razor View

After submitting the form to the controller, the MaskedTextBoxFor inputs lose their values if the view returns from controller while all the other values (textboxdor, dropdownlistfor) remain as they are submitted. So, how to make MaskedTextBoxFor…
1
vote
2 answers

Kendo UI kendoMaskedTextBox 24 Hour clock

I'm trying to create masked textbox, where you are able to type in maximum 24:00, but I can't make the regex dependent on each other. Now i'm able to type in ex. 25:00. If the first char is 2 I need only to be able to type in < 5. Can anyone…
1
vote
2 answers

How to only allow valid dates in a Kendo MaskedTextBox

I have a Kendo MaskedTextBox that is shown below. @(Html.Kendo().MaskedTextBox() .Name("kendoMaskedTextBox1") .Rules(rules => { rules.Add('0', "/[0]{1}[1]{1}/"); }) .Mask("00/00/0000") ) My question is how can I add…
JohnAtrik
  • 175
  • 2
  • 5
  • 14
0
votes
1 answer

How to escape mask rules in kendo maskedtextbox for angular2?

I need to build a mask where some charachters are fixed, like a number where the user have to specify last three digits. How can I escape the "0" default mask behaviour? the docs says to use backslash character, but I can't figure out how it should…
Doc
  • 5,078
  • 6
  • 52
  • 88
0
votes
1 answer

Applying Regular Expressions in a Kendo MaskedTextBox

I want to globally assign a REGULAR EXPRESSION to a Kendo MaskedTextBox using JavaScript...but cannot get Kendo to 'recognize' the pattern(s). Q: How do you use Regex in a Kendo MaskedTextBox? ...everything I have tried fails. SAMPLE…
Prisoner ZERO
  • 13,848
  • 21
  • 92
  • 137
0
votes
1 answer

Kendo MaskedTextBox data attributes

Can MaskedTextBox be configured via data attributes? I tried the following but did not work. Thanks.
user3207455
  • 73
  • 1
  • 9