I have created a class based off the MaskedEditBox. However, every time I drop it on a form, it auto populates the value with "1____-____". If I drop another on the same form, it populates the value with "2____-____". Is this done by design? My desired value would be "_____-____" or "" as the value.
public class NtsMaskedEditBoxZipCode : RadMaskedEditBox
{
#region Public Constructors
public NtsMaskedEditBoxZipCode()
{
Mask = @"99999-9999";
MaskType = MaskType.Standard;
Text = @"_____-____";
TextMaskFormat = MaskFormat.ExcludePromptAndLiterals;
}
#endregion Public Constructors
#region Public Properties
public sealed override string Text
{
get { return base.Text; }
set { base.Text = value; }
}
#endregion Public Properties
}