Puedes cargale el evento a traves de un atributo desde tu codebehind..
ejemplo:
Cita: Private Sub page_load...
...
txtMesa.Attributes.Add("onkeyup","tu_evento(this)")
...
End Sub
Conde "tu_evento" recibe el objeto actual y haces tu validacion desde javascript como lo harías normalmente..
Espero te sirva.
Salu2