We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. (Last updated on: November 16, 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

MaskedTextBox bug, lost Mask

Thread ID:





130204 Apr 27,2017 11:12 AM UTC May 2,2017 06:19 AM UTC WPF 5
Tags: Ribbon
David García
Asked On April 27, 2017 11:12 AM UTC


I found an issue with the Syncfusion.Windows.Shared.MaskedTextbox control. For some reason and in certain circumstances it lost the set mask.

I got the following declaration of the control in XAML:

<Syncfusion:MaskedTextBox Style="{StaticResource MetroTextBox}" Mask="00/00/0000" Text="{Binding Path=FechaTratamiento, StringFormat={}{0:d}, ConverterCulture='es-es'}"/>

The property "FechaTratamiento" to which the control is binded is a nullable DateTime.

If on the control I type the date 00/00/0000 and then remove it, the mask part of the last for digits dissapear from the control, not allowing to type a correct value after that (see the images).

Before: Editing: After:

Not only happend with the date 00/00/0000 as obviously is an invalid date but is the easier to check that the bug is there.

I'm using now the SfMaskEdit control that seems doesn't have this behavior but thought should make you aware of this bug.


Priyanga Balasubramaniam [Syncfusion]
Replied On April 28, 2017 11:11 AM UTC

Hi David,

Thank you for contacting Syncfusion support.

We have prepared the simple sample. But we could not reproduce the issue at our end with this sample.
Please check with the below sample if you can reproduce the issue please share the more information like replication steps or current version you are using or please share the issue reproducing sample.

Please download the sample from the below link. 

Priyanga B 

David García
Replied On April 28, 2017 11:45 AM UTC

Hi,Thanks for the reply back,I have reproduce the exactly same problem in the example you have provided without change anything in the example. Just open it and run.I have open the example on Visual Studio 2015. The Syncfusion assembly version is the provided with the example, that is also the one I got in my computer is 15.1460.0.37.To reproduce the error I only fill the mask with 0 and then remove the charachters so the last part of the mask dissapear.Thanks.

Vinothini [Syncfusion]
Replied On May 1, 2017 09:19 AM UTC

Hi David,  
Thank you for your update.  
We were able to reproduce the issue on our side and we have consider it as an issue. A support incident has been created to track the status of this issue under your account. Please log on to our support website to check for further updates.  

David García
Replied On May 2, 2017 12:39 AM UTC

Thank you so much. Will stay tuned to the update on this issue.

Priyanga Balasubramaniam [Syncfusion]
Replied On May 2, 2017 06:19 AM UTC

Hi David,

Thank you for the update. For further follow up about the issue please follow the incident, which has been created under your account.


Priyanga B


This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

Please sign in to access our forum

This page will automatically be redirected to the sign-in page in 10 seconds.

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon