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

Numeric text box positive number only

1 Answer 711 Views
Input
This is a migrated thread and some comments may be shown as answers.
A K
Top achievements
Rank 1
A K asked on 11 Aug 2010, 02:23 PM
I want to allow only positive numbers in a numeric text box. How do I do this?

Thanks

1 Answer, 1 is accepted

Sort by
0
Daniel
Telerik team
answered on 11 Aug 2010, 02:34 PM
Hello A K,

You can set the MinValue to 0 and thus deny all negative numbers.
<telerik:RadNumericTextBox ID="RadNumericTextBox1" runat="server" MinValue="0" />

Regards,
Daniel
the Telerik team
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
Tags
Input
Asked by
A K
Top achievements
Rank 1
Answers by
Daniel
Telerik team
Share this question
or