An ASP.NET button click event is not firing

后端 未结 3 1397
死守一世寂寞
死守一世寂寞 2020-12-18 15:40

I have a button within a div which is hidden by default as it is used as a modal popup by jQuery UI.

The click event handler for this button never gets called, yet i

3条回答
  •  太阳男子
    2020-12-18 15:53

    A turnaround will be to change your button event to a client event, then trigger the server side event from client side.

    See Stack Overflow question How to fire a button click event from JavaScript in ASP.NET.

提交回复
热议问题