I'm using a SfMaskedEdit control and trying to set the mask dynamically, I mean I have this mask (___) ___-____ for a phone number and I need to change the mask to this one (__) ____-____ at runtime when I press KeyUp, but what I'm getting when I write a phone number and change the mask is (122_123-1230. This is my code:
VJVictory Jessie Selvam D Syncfusion Team May 15, 2015 06:15 AM UTC
Thank you for using Syncfusion products.
We were able to reproduce the issue "Changing Mask property dynamically is not working" and have logged defect report regarding this. The fix for this issue will be included in our upcoming Service pack release which is scheduled in end of May, 2015.
Setting Mask property is enough to generate the expression and match the value in KeyUp event handler. Also kindly use the Value property to bound the input(instead of Text) in SfMaskedEdit control. Based on this we have modified your sample kindly download it from the following link: