Asp.Net btn点击事件

Asp.Net btn点击事件

问题描述:

我该怎么办,

在btn click事件上禁用btn控件,并在启用btn控件中调用btn click事件.

受保护的void Button1_Click(对象发送者,EventArgs e)
{
Button1.Enabled =假;
}
上面的代码在IE中不起作用,Mozilla,Chrome

How can i do,

on btn click event disable the btn control and also call btn click event in that enable btn control .

protected void Button1_Click(object sender, EventArgs e)
{
Button1.Enabled = false;
}
above code not work in IE ,Mozilla,Chrome

protected void Button1_Click(object sender, EventArgs e)
{
    Button1.Enabled = false;
}



会禁用您刚刚单击的按钮



that would disable the button u just clicked

protected void Button1_Click(object sender, EventArgs e)
        {
            Button1.Enabled = false;
        }



这会隐藏按钮

你是什​​么意思
还调用了启用btn控件的btn click事件"



this would hide the button

what do u mean by
"also call btn click event in that enable btn control "