Hi,
I'm having trouble with the edit functionality of the RadmaskedTextBox. We have a masked textbox for phone numbers with the following mask: "(##) #### ####" where the area code is in the brackets, followed by the actual number.
The problem is that when this textbox is populated with data from the database, sometimes the phone number does not have the area code, so it appears like this: (12) 1234 12__. When the textbox is selected and the caret placed at the start of the text, instead of inserting the missing area code at the start, it over-writes the existing data.
I have tried setting the textbox mask to be "##########" and the displayMask to be "(##) #### ####", but it still pads out the missing characters and over-writes the data when edited.
Is there a way of doing this? Or should we just go back to using standard textboxes?
I'm having trouble with the edit functionality of the RadmaskedTextBox. We have a masked textbox for phone numbers with the following mask: "(##) #### ####" where the area code is in the brackets, followed by the actual number.
The problem is that when this textbox is populated with data from the database, sometimes the phone number does not have the area code, so it appears like this: (12) 1234 12__. When the textbox is selected and the caret placed at the start of the text, instead of inserting the missing area code at the start, it over-writes the existing data.
I have tried setting the textbox mask to be "##########" and the displayMask to be "(##) #### ####", but it still pads out the missing characters and over-writes the data when edited.
Is there a way of doing this? Or should we just go back to using standard textboxes?