ASP.NET RangeValidator is very helpful to validate integer and double values range. You need not to write a javaScript code to check for number range niether write a C# code to validate at server side afterpost back.
So using this validation control you can avoid round trip to server.
<%@ Page Language="C#" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN">
<html>
<body>
<form id="Form1" runat="server">
<h4>
Check for Number Range</h4>
<br />
Enter a Number:
<asp:TextBox ID="txtNumber" runat="server"></asp:TextBox>
<br />
<br />
<asp:Button ID="Button1" Text="Validate" runat="server" />
<br />
<br />
<asp:RangeValidator ID="IntRangeValidator1" ControlToValidate="txtNumber" Type="Integer"
MaximumValue="1000" MinimumValue="100" SetFocusOnError="true" Text="The Number entered is not in given range, please enter a number between 100 to 1000."
runat="server" />
</form>
</body>
</html>