I am trying to validate length of a string in a TextBox. Controls on page defined as follows:
<asp:TextBox runat="server" ID="TB" />
<asp:RangeValidator runat="server" ID="RV"
MinimumValue="3" MaximumValue="20"
ControlToValidate="TB" Type="String" />
But when page runs there is run time error occurred
The MaximumValue 20 cannot be less
than the MinimumValue 3
You mention Type
incorrect, it should beType="Integer"insteadType="String"