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

MaskedTextBox Variable length mask


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


3 Replies

KP Kanniyappan Panneer Selvam Syncfusion Team 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 

HB Hari Balakrishnan Boobalan Syncfusion Team 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.  

UN Unknown Syncfusion Team 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 

Live Chat Icon For mobile
Up arrow icon