This is a migrated thread and some comments may be shown as answers.

Special characters in Numeric Text Box

1 Answer 139 Views
NumericTextBox
This is a migrated thread and some comments may be shown as answers.
Darren
Top achievements
Rank 1
Darren asked on 24 Jun 2015, 01:06 PM
Hello,

I am interested in the scenario where a numeric textbox could be configured to allow special characters, in my case the "-" and "+" characters, but not necessarily in the beginning of the number.

For example

99-00+
37-34-

Would be acceptable values.

The value would therefore be a string, not a number

It seems to be infeasible but I am just trying to double check?


1 Answer, 1 is accepted

Sort by
0
Plamen Lazarov
Telerik team
answered on 26 Jun 2015, 08:06 AM

Hello Darren,

The described scenario is not supported at this point and as a workaround you could use MaskedTextBox. However keep in mind that the mask works with specific length and it cannot be changed based on the input. In other words the input can't be longer than the mask.

Regards,
Plamen Lazarov
Telerik
 
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
 
Tags
NumericTextBox
Asked by
Darren
Top achievements
Rank 1
Answers by
Plamen Lazarov
Telerik team
Share this question
or