Completed
Last Updated: 11 Jun 2021 14:14 by ADMIN
Swathi
Created on: 13 Sep 2019 17:28
Category: MaskedTextBox
Type: Feature Request
0
MaskedTextBox

Hi

 

Here is what I am trying to achieve is to make the text fill the mask from the right rather than from the left.

 

If my mask is #(###)###-#### and my Prompt Char is _, Then this is what I expect to happen 

If I enter 11 digit number I expect to show (1)(222)-333-4444. If I enter 10 digit number I expect to show _(222)-333-4444.

The API for the Masked Text Box control has NumericRangeAlign property that should allow this to happen but setting this property value to RIGHT or LEFT has NO visible effect.

2 comments
ADMIN
Rumen
Posted on: 27 Dec 2019 08:26

Hi Swathi,

You can achieve your scenario by setting dir="rtl" and to turn the mask upside down - Mask="####-###(###)#", e.g.

            

<telerik:RadMaskedTextBox ID="RadMaskedTextBox1" runat="server"             dir="rtl"
            Mask="####-###(###)#"></telerik:RadMaskedTextBox>

Regards,
Rumen
Progress Telerik

Get quickly onboarded and successful with your Telerik and/or Kendo UI products with the Virtual Classroom free technical training, available to all active customers. Learn More.
Swathi
Posted on: 17 Sep 2019 16:19
The NumericRangeAlig property is for alignment of numeric ranges like wise Need NumericTextAlig  property to align input  text characters