Get the return confirm popbox value in asp .net C#

后端 未结 3 969
遇见更好的自我
遇见更好的自我 2021-01-23 09:10

How can i get the value that was pressed in the confirm box?

 

        
3条回答
  •  清歌不尽
    2021-01-23 10:03

    You can store the value of confirm_proceed() in an asp:HiddenField

    You can modify your script as follows:

      
    

    You can now access first the hidden field's value in your Button2_Click event.

提交回复
热议问题