用Enter键取代tab键
1.
this.TextBox1.Attributes.Add("OnKeyPress","<script>if keycode==13 keycode=9; return false;</script>");
2.
<input type='text' onkeydown="if (event.keyCode ==13) event.keyCode =9;">
this.TextBox1.Attributes.Add("OnKeyPress","<script>if keycode==13 keycode=9; return false;</script>");
2.
<input type='text' onkeydown="if (event.keyCode ==13) event.keyCode =9;">