Respected Sir James HeatField,
Thanks for your reply it works but i have another problem regarding messagebox.This time i want to validate characters only.i.e.if anyone wiil be enter digits in the textbox it must show the messagebox.I tried this as follows but it could not work please sir send me the code for character validation.
<script language="javascript"type="text/javascript">
function ValidateName(Obj){
if(((window.event.keycode<48 && window.event.keycode>57))){
var Value=Obj.value;
var len=Value.length;
}
else
{
alert("Please Enter Characters Only");
return false;
}}
</script>
Thanks & Regards
Prashant S. More