右键单击Gridview行 [英] Gridview row on rightclick

查看:67
本文介绍了右键单击Gridview行的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我遇到的情况是,我必须自定义gridview的右键单击选项.我有一个gridview,当我右键单击gridview单元格或行时,它应该只显示一些选项,例如edit delete,并且我必须用c#代码执行一些操作.
jQuery最可取.
请帮助我..预先感谢.

I have a situation where, i have to customise the rightclick options of gridview. I have a gridview in which,when i rightclick on a gridview cell or row it should show only some options like edit delete, and i have to perform some operations in c# code.
Jquery is most prefferable.
Please help me.. Thanks in advance.

推荐答案

有一个 ^ ].使用它.

对于一些示例,请看这里:
jQuery/asp.net:网格列上的动态上下文菜单 [ ASP.NET中的jQuery上下文菜单和模式弹出窗口扩展器 [ ^ ]
There is a jQuery Context Menu plugin[^]. Use it.

For some samples, look here:
jQuery/asp.net: Dynamic Context Menu on Grid Column[^]
jQuery Context Menu and Modal Popup Extender in ASP.NET[^]


这篇关于右键单击Gridview行的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆