【发布时间】:2013-04-02 11:33:19
【问题描述】:
我在 GridView 中使用图像按钮,例如
<asp:ImageButton ToolTip="<%$ Resources:Captions,lbledit%>" ID="imgbtnPopup" runat="server" ImageUrl="<%$ Resources:Paths,imgbtnEdit%>" CommandName="callPopup" CommandArgument='<%# Eval("WOID") %>' CssClass="imgActions" OnClientClick="Popup.show('simplediv');return false;" />
OnClientClick 事件当我写返回 false 时它没有触发 GridView 的RowCommand 事件
【问题讨论】:
-
我不确定,所以我不会把这个作为答案,但我相信返回 false 会取消回发事件。
标签: c# javascript jquery