如何检测一行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 [ ^ ]
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