Range Validator - alphabet entered when integer range checked
<p>I have a Range Validator as follows. It is for restricting values between 1900 and 2070. However, it fires error when I enter a alphabet also. I want this to be fired only if the user enters integer values.  How do I overcome it?   Please help..</p>

<pre><code>                        &lt;asp:RangeValidator ID="RangeValidator1" runat="server" ControlToValidate="txtYear"
                            ValidationGroup="report" ErrorMessage="EM1|Year" MaximumValue="2079" MinimumValue="1900"
                            SetFocusOnError="True" Display="Dynamic" Type="Integer"&gt;
                                            &lt;img src="../../Images/error.gif" alt="Format" /&gt;
                        &lt;/asp:RangeValidator&gt;
</code></pre>
