__doPostBack() is causing post back but not calling button click event in aspx page

后端 未结 2 1375
温柔的废话
温柔的废话 2021-02-09 09:16

I am using a aspx page which is having a button.

 
         


        
2条回答
  •  礼貌的吻别
    2021-02-09 10:08

    have you tried using the UniqueID instead of the ClientID?

    __doPostBack('<%= savebtn.UniqueID %>', "");
    

    Also have a look at this quick tutorial on dopostback:

提交回复
热议问题