please write javascript for allowing numeric only
<pre>function AllowNumber(evt)
{
var charCode;
charCode = (evt.which) ? evt.which : event.keyCode;
if(charCode >=48 && charCode<=57)
{
return true;
}
else
{
alert("Please Enter Number Only");
return false;
}
}
and call to your code like that
<pre><asp:textbox id="txtAMCAmount" runat="server" cssclass="TextBoxStyle" width="185px" onkeypress="return AllowNumber(this)" xmlns:asp="#unknown"></asp:textbox>