na digitação só se for script o que vc pode é criar a função e colocar o textbox como autopostback = true e no chance chamar a função.
tai a função
Function CheckInteger(ByVal Valor As Object) As Boolean
If Valor = "" Then
Return True
Exit Function
End If
Dim WL_Integer As Integer
If Not Integer.TryParse(Valor, WL_Integer) Then
Return False
Exit Function
End If
Return True
End Function
Junior