With the current implementation the kendoMaskedTextBox.value() method returns the value including the mask. There should be a way to get the inner value, without the mask.
I disagree so I made that: kendo.ui.MaskedTextBox.fn.raw = function () { "use strict"; var lEmptyMask = this._emptyMask; var lValue = this.value(); var i = lEmptyMask.length; while (i--) { if (lEmptyMask[i] === lValue[i]) { lValue = lValue.slice(0, i) + lValue.slice(i + 1); } } return lValue; };
Indeed when you use the value() method it will return the formatted textbox value according to the mask applied. However, you can apply string replace for this value to remove the special symbols (dashes, brackets, etc.) and retrieve the value as numbers only. Due to this I'm closing this request.