如何在编辑时隐藏gridview中的更新/取消按钮 [英] How to hide update/cancel button in gridview on edit
本文介绍了如何在编辑时隐藏gridview中的更新/取消按钮的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我在gridview中遇到问题,当在gridview中单击编辑并按下保存按钮时,网格中的编辑按钮转换为更新/取消
如何防止更新/取消????
i想按保存,而不是在gridview中更改编辑???
解决方案
这个将解决您的疑问,提前谢谢
ASP.NET GridView:CRUD操作 [ ^ ]
http://www.aspsnippets.com/Articles/AJAX-CRUD-operations-Create-Read-Update-and-Delete -using-GridView-in-ASPNet.aspx [ ^ ]
GridView1.EditEndix = -1;
它会起作用,我试试。
i have problem in gridview , when click edit in gridview and press save button , the edit button in grid convert to update/cancel
how prevent update/cancel ????
i want to press save , and not change edit in gridview ???
解决方案
hi, this will solve your query, thanks in advance
ASP.NET GridView: CRUD Operations[^]
http://www.aspsnippets.com/Articles/AJAX-CRUD-operations-Create-Read-Update-and-Delete-using-GridView-in-ASPNet.aspx[^]
GridView1.EditEndix=-1;
It will work, I try it.
这篇关于如何在编辑时隐藏gridview中的更新/取消按钮的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文