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. Image for the cookie policy date
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

MaskedTextBox Variable length mask

Thread ID:





150594 Jan 13,2020 08:11 AM UTC Apr 2,2020 09:55 AM UTC WPF 3
Tags: MaskedTextBox
Martin Hagenow
Asked On January 13, 2020 08:11 AM UTC


following problem:

I need the MaskTextBox for entering phone numbers. In Germany the area code and the phone numbers are variable.


+49 (30) 12345                  - Number 12345 in Berlin
+49 (8458) 1234567          - Number 1234567 in Gaimersheim
+49 (841) 123                    - Number 123 in Ingolstadt.
+49 (1520) 123456            - Number 123456 mobile net

The mask should be "+?? (*) *" Where * are numeric values with variable length.

How do I need to set up the mask for this control to get this behaviour?

Thanks in Advance!

Best Regards


Kanniyappan Panneer Selvam [Syncfusion]
Replied On January 14, 2020 05:36 PM UTC

Hi Martin Hagenow, 
Thanks for contacting Syncfusion support. 
We are currently working on your queries at our end and updating the further details on 17th January 2019. 
We appreciate your patience until then. 
Kanniyappan P 

Hari Balakrishnan Boobalan [Syncfusion]
Replied On January 17, 2020 01:46 PM UTC

Hi Martin Hagenow, 

Thank you for your patience. 

Currently we are not having support for the variable length mask for editing phone number. We will consider this as a defect and it will fixed in the upcoming release 2020 Volume 1.Please find the feedback link for the same: 

Hari Balakrishnan Boobalan.  

Niranjan Kumar Gopalan [Syncfusion]
Replied On April 2, 2020 09:55 AM UTC

Hi Martin Hagenow, 
Thanks for your update. 
We are glad to announce that our Essential Studio Volume 1, 2020 release (v18-1-0-42) is rolled out and is available for download under the following link. 
We thank you for your support and appreciate your patience in waiting for this release. We will provide patch in this version including all fixes provided to you by end of this week. Please get in touch with us if you would require any further assistance. 
Niranjan Kumar 


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

Live Chat Icon For mobile
Live Chat Icon