I've got a masked textbox on a page to add a new contact that no matter what isn't returning any value? Here's the control in the markup:
<
telerik:RadMaskedTextBox
ID
=
"txtWorkNumber"
runat
=
"server"
CssClass
=
"input_text"
Skin
=
""
EnableEmbeddedSkins
=
"false"
Width
=
"88%"
></
telerik:RadMaskedTextBox
>
Then on page load I apply the mask based on country, but 99% of the time it's this code:
strMask = "###-###-####"
strDMask = "(###) ###-####"
txtWorkNumber.Mask = strMask
txtWorkNumber.DisplayMask = strDMask
SInce we are dealing with a phone number, it's a required field and the value regardless of when I try to read it (tested in multiple places) ended up looking like this
txtWorkNumber.TextWithLiterals = "--"
This code used to work, so wondering if it's something that changed since we recently updated to the latest version after being almost a year behind in updates.