Completed
Last Updated: 19 Jun 2017 12:18 by ADMIN
ADMIN
Dess | Tech Support Engineer, Principal
Created on: 30 Mar 2017 09:19
Category: Editors
Type: Bug Report
1
FIX. RadMaskedEditBox - the Clear method doesn't allow the Value to be updated anymore with MaskType.None
To reproduce: 
1. Enter some text and click the first button. Both properties, Text and Value contain the expected value.
2. Click the second button to clear the text and value.
3. Enter some text again and click the first button. You will notice that the Value remains empty. 

public RadForm1()
{
    InitializeComponent();

    this.radMaskedEditBox1.MaskType = Telerik.WinControls.UI.MaskType.None;
    this.radMaskedEditBox1.Mask = "CCCCCCC";
}

private void radButton1_Click(object sender, EventArgs e)
{
    this.radLabel1.Text = "Text: " + this.radMaskedEditBox1.Text;
    this.radLabel2.Text = "Value: " + this.radMaskedEditBox1.Value + "";
}

private void radButton2_Click(object sender, EventArgs e)
{
    this.radMaskedEditBox1.Clear();
}

Workaround: use MaskType.Standard
2 comments
ADMIN
Stefan
Posted on: 19 Jun 2017 12:18
Hi Joe,

the case is resolved with the R2 2017 release. Please upgrade to it or our latest version in order to take advantage of the fix.
Imported User
Posted on: 06 Apr 2017 14:51
Mask type Standard does not work either if you have mask set to "".
Can you not have mask set to "" in any scenario?

If mask type is set to None it does not work nor does Standard.
This should be scheduled to be fixed IMO.