0
我在GridView上有以下按鈕,我想向用戶顯示一個消息框以確認他是否確定購買該項目(我熟悉OnClientClick = return confirm('xxxxx');)但是在網格視圖上它不同,我不能使用這個方法。在列節點如何在GridView上顯示確認消息圖片按鈕
<asp:ButtonField CommandName="buynow" ImageUrl="~/images/buy.png" HeaderText="BUY" ButtonType="Image"/>