If Not Page.IsPostBack Then
Me.TextBox1.Attributes("onkeydown") = "if (event.keyCode==13) { document.all(" + """ImageButton2""" + ").click; alert('help');return false;}"
End If好像不行,而且要鼠标点下textbox
Me.TextBox1.Attributes("onkeydown") = "if (event.keyCode==13) { document.all(" + """ImageButton2""" + ").click; alert('help');return false;}"
End If好像不行,而且要鼠标点下textbox
然后调用
点击那个imagebutton按钮引用的函数