<............onkeydown lilkey="event.keyCode;" if true else>=49&&lilKey
Drag a textbox onto aspx page, copy and paste onKeyDown event. This will validate your input to the textbox and only numbers can be entered into the textbox not characters. Try it.