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

RadNumericTextBox works wrong with RangeValidator

1 Answer 69 Views
Input
This is a migrated thread and some comments may be shown as answers.
tomekm
Top achievements
Rank 1
tomekm asked on 31 May 2010, 01:25 PM
RangeValidator fires when I type values from 6 to 9 - why is that?


 <telerik:RadNumericTextBox   

ShowSpinButtons="true"   
Value="1"   
ID="CodesCountTextBox"  
NumberFormat-DecimalDigits="0"   
MinValue="1"   
MaxValue="50"  
 runat="server" />  
<asp:RangeValidator   
runat="server"   
MinimumValue="1"   
MaximumValue="50"   
ControlToValidate="CodesCountTextBox"                 
 ForeColor="Red">*</asp:RangeValidator> 

1 Answer, 1 is accepted

Sort by
0
tomekm
Top achievements
Rank 1
answered on 31 May 2010, 01:27 PM

OK I missed Type="Integer" validator property.

Please close

Tags
Input
Asked by
tomekm
Top achievements
Rank 1
Answers by
tomekm
Top achievements
Rank 1
Share this question
or