Completed
Last Updated: 29 Mar 2017 05:29 by ADMIN
ADMIN
Dess | Tech Support Engineer, Sr.
Created on: 18 Mar 2016 14:21
Category: Editors
Type: Bug Report
2
FIX. RadMaskedEditBox - Clear method doesn't clear the Value property
To reproduce:

public Form1()
{
    InitializeComponent();
    this.radMaskedEditBox1.Mask = "9999999999";
    this.radMaskedEditBox1.MaskType = Telerik.WinControls.UI.MaskType.Standard;
    this.radMaskedEditBox1.PromptChar = Convert.ToChar(" ");

}

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

Workaround:  set the Value to null as well.
Attached Files:
(Total attached files size should be smaller than 20mb. Allowed extensions: .zip, .rar, .jpg, .png, .gif)
2 comments
ADMIN
Dess | Tech Support Engineer, Sr.
Posted on: 29 Mar 2017 05:29
Hello Joe, 
When using the above code snippet in a sample project using the latest version of the Telerik UI for WinForms suite, the Clear method seems to work as expected. If you are still experiencing any further difficulties, feel free to submit a support ticket where you can provide all the necessary information for reproducing the undesired behavior together with a sample project. Thank you.
Imported User
Posted on: 24 Mar 2017 16:59
We are well past Q2 2016 release and the masked editbox is still not working correctly.  is there a update?