Button OnClick not firing on first click in ASP.NET?

后端 未结 5 1795
佛祖请我去吃肉
佛祖请我去吃肉 2021-01-07 02:14
protected void ButtonCancel_Click(object sender, EventArgs e)
    {

        Response.Redirect(\"~/Logon.aspx\");
    }

this is not workin

5条回答
  •  清歌不尽
    2021-01-07 03:00

    do you really need to postback just to go to another page? You can just have a javascript call for that:

    
    

提交回复
热议问题