0
頁
我需要我的asp.net C#代碼結束後解僱HTML BUTTOM使用消防HTML按鈕的.cs
<asp:Button ID="Button3" runat="server"
Text="Button" onclick="Button3_Click" />
<input id="Button2" type="button" value="button" data-type="error" class="growl-type2" runat="server" />
和CS代碼
protected void Button3_Click(object sender, EventArgs e)
{
----
i need to fire button2(automatically) in this position
}
確實button2沒有button_click2方法可以調用? – Pete
請參閱此處接受的答案http://forums.asp.net/t/1679231.aspx?How+to+programmatically+fire+the+input+button+onclick+event –