In VB this is my code on having only numeric input on the textbox.
Private Sub txtbox_KeyPress(Index As Integer, KeyAscii As Integer)
If Index = 5 Or Index = 6 Or Index = 7 Then
Select Case KeyAscii
Case vbKey0 To vbKey9
Case vbKeyDelete
Case vbKeyBack
Case Else
KeyAscii = 0
End Select
End If
End Sub
How can I do this in my ASPX page?
Thanks


Reply With Quote