Me.TextBox1.Attributes.Add("onkeypress", "if( event.keyCode == 13 ) { document.getElementById('" + Me.ImageButton1.ClientID + "').focus(); }")
C#
this.txt_Acc.Attributes.Add("onkeypress", "if( event.keyCode == 13 ) { document.getElementById('" + this.btn_Login.ClientID + "').focus(); }");
沒有留言:
張貼留言