如何将上下文菜单添加到树视图? [英] How to add a context menu to a treeview?
本文介绍了如何将上下文菜单添加到树视图?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
在我的应用程序中,我有一个dynamic tree view
.
我想使用asp.net将context menu
添加到 dynamic tree view
.
如何添加菜单项ADD,EDIT,DELETE
使用asp.net
谢谢与问候
R @ v!
In my application I have a dynamic tree view
.
I want to add a context menu
to the dynamic tree view
using asp.net.
How I can add that, with menu items ADD, EDIT, DELETE
using asp.net
Thanks and Regards
R@v!
推荐答案
您可以在脚本中完全通过客户端进行操作
类似于jQuery +上下文菜单插件
http://labs.abeautifulsite.net/projects/js/jquery/contextMenu/demo/ [ ^ ]
或者,您可以走Web控制路线
http://msdn.microsoft.com/en-us/magazine/cc163848.aspx [ ^ ]
You could do something completely client side in script
Something like jQuery + Context menu plugin
http://labs.abeautifulsite.net/projects/js/jquery/contextMenu/demo/[^]
Or you could go the Web Control route
http://msdn.microsoft.com/en-us/magazine/cc163848.aspx[^]
请参阅下面的文章
TreeView上的上下文菜单
如果发现有用,请接受答案:)
See below Article
Context Menu on TreeView
Accept the answer if found useful :)
这篇关于如何将上下文菜单添加到树视图?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文