用于添加,编辑行中的单个单元格,使用javascript或jquery在gridview中删除的代码 [英] Code for add,edit individual cell in the row,delete in gridview using javascript or jquery
问题描述
我正在使用带有添加,编辑,删除选项的Gridview.当我单击编辑"按钮时,行可以使用更新和取消"按钮进行编辑.但是,此过程会导致回发,这会降低我的方案的性能.还有其他方法可以使行可编辑而不引起回发(也许使用javascript或jquery)吗?我不想使用更新面板,因为在我的方案中,我无法使用这些面板.请执行有需要的操作,i我的任务是struct,请发布代码.
谢谢,
Kiran
Hi,
I am using Gridview with add,edit,delete option. When i click on Edit button row becomes editable with Update & cancel button. But this process causes a postback which degrades performance in my scenario. Is there any other way available to make row editable without causing a postback(maybe using javascript or jquery)?I don''t want to use update panels because in my scenarion i can''t use those.Please do the needful,i am struct with my task please post the code.
Thanks,
Kiran
推荐答案
其中一些想法可能会有所帮助:
http://www.dotnetfunda.com/articles/article970-aspnet-gridview-jquery-tips-and-tricks-part-1.aspx [ http://www.trirand.com/blog/ [ http://dotnetunplugged.com/2010/02/02 /asp-net-gridview-edit-records-using-jquery-dialog/ [
Some of these ideas may help:
http://www.dotnetfunda.com/articles/article970-aspnet-gridview-jquery-tips-and-tricks-part-1.aspx[^]
http://www.trirand.com/blog/[^]
http://dotnetunplugged.com/2010/02/02/asp-net-gridview-edit-records-using-jquery-dialog/[^]
这篇关于用于添加,编辑行中的单个单元格,使用javascript或jquery在gridview中删除的代码的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!