避免在命令字段上回发

时间:2014-12-02 05:31:19

标签: asp.net

我在gridview中有一个命令。

<asp:CommandField ShowEditButton="true"  ShowDeleteButton="true"  
                EditImageUrl="~/Icons/1414412214_edit.png" EditText="Edit" 
                DeleteImageUrl="~/Icons/1414412198_delete.png" UpdateText="Done"   >
            <ItemStyle Height="10%" Width="10%" />
            </asp:CommandField>

如何停止回复编辑链接按钮,并且仍然可以在单击时显示更新和取消链接。我知道我可以使用更新面板做到这一点,我试过它不起作用?

1 个答案:

答案 0 :(得分:1)

使用更新面板来避免整页回发..或在您的应用程序中尝试任何jquery网格插件。 Using JqGrid in ASP.NET

相关问题