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

Allow inputting positive numbers only.

1 Answer 356 Views
MaskedInput (Numeric, DateTime, Text, Currency)
This is a migrated thread and some comments may be shown as answers.
Needha
Top achievements
Rank 1
Needha asked on 17 May 2013, 08:57 AM
Hi,

I am trying the RadMasked input and i need to restrict the user from typing negative numbers or zero in the numeric textbox mask.

Needha Saran

1 Answer, 1 is accepted

Sort by
0
Shinu
Top achievements
Rank 2
answered on 17 May 2013, 09:36 AM
Hi Needha,

Try the following XAML code.

XAML:
<telerik:RadMaskedNumericInput maskedInput:MaskedInputExtensions.Minimum="1" />

Thanks,
Shinu.
Tags
MaskedInput (Numeric, DateTime, Text, Currency)
Asked by
Needha
Top achievements
Rank 1
Answers by
Shinu
Top achievements
Rank 2
Share this question
or