如何检测一行gridview上的右键单击 [英] How to detect a right click on a row of gridview
本文介绍了如何检测一行gridview上的右键单击的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我有一个gridview,它在树视图中点击一个节点后动态加载
这个gridview放在一个updatepanel中。因此它是使用异步回发加载的
我想在gridview中检测到一行的右键..
任何人都可以帮忙..
I have a gridview which is dynamically loaded after a click on a node in a treeview
This gridview is placed in an updatepanel.. Thus it is loaded using an asynchronous postback
I want to detect a right click on a row in gridview..
Can anybody please help..
推荐答案
你好,
找到下面的链接,
http://social.msdn.microsoft.com/Forums/en-US/winforms/thread/df647a89-bb8c-4382-87a6-a3e7701107d4/ [ ^ ]
您好,
也请检查以下链接。
http:// stackoverflow .com / questions / 6085693 / how-can-i-use-a-right-click-context-menu-on-a datagridview [ ^ ]
http://bytes.com/topic/c-sharp/answers/580182-right-click-c [ ^ ]
< a href =http://social.msdn.microsoft.com/Forums/en/wpf/thread/63fa1e10-1050-4448-a2bc-62dfe0836f25> http://social.msdn.microsoft.com/Forums/en/wpf/thread/63fa1e10-1050-4448 -a2bc -62dfe0836f25 [ ^ ]
希望这可以帮助您解决问题。
谢谢
Hi,
Check for the following links also.
http://stackoverflow.com/questions/6085693/how-can-i-use-a-right-click-context-menu-on-a-datagridview[^]
http://bytes.com/topic/c-sharp/answers/580182-right-click-c[^]
http://social.msdn.microsoft.com/Forums/en/wpf/thread/63fa1e10-1050-4448-a2bc-62dfe0836f25[^]
Hope this will help you in solving your problem.
Thanks
这篇关于如何检测一行gridview上的右键单击的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文