give the Type as Integer
in your RangeValidator
, if you don't specify the type it will compare as strings, since the default Type value is String
.
<asp:RangeValidator Type=Integer ....
and also give out of range value to default item
<asp:ListItem Value="-1">--select--</asp:ListItem>