ModalPopupExtender OK Button click event not firing?

后端 未结 8 1434
旧巷少年郎
旧巷少年郎 2020-12-14 00:04

I have a Button inside an UpdatePanel. The button is being used as the OK button for a ModalPopupExtender. For some reason, the button click event is not firing. Any idea

8条回答
  •  半阙折子戏
    2020-12-14 00:42

    I was just searching for a solution for this :)

    it appears that you can't have OkControlID assign to a control if you want to that control fires an event, just removing this property I got everything working again.

    my code (working):

    
    
    

提交回复
热议问题