右键单击asp.net中的Treeview菜单 [英] Right Click Menu for Treeview in asp.net

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

问题描述







1)我有动态创建的treeview。我有一个3级树,其中节点是使用sql数据库动态添加的。

2)现在我想在第3级添加和删除节点,右键单击2级节点。它有点像winforms中的上下文菜单

3)那么如何在asp.net的aspx页面中实现它



请帮助我! !!!!!!!!!

谢谢大家

解决方案

您需要通过JavaScript在客户端执行此操作。



使用 ASP.Net上下文菜单



来自 ASP.Net社区,可以帮助您获得更快的速度(有些是免费的一些费用


< blockquote>)。



jQuery上下文菜单,可能对你有用, jQuery上下文菜单


Hi,


1) i have treeview which dynamically created. i have a 3-Level tree where nodes are added dynamically using sql database.
2) Now i want to add & delete nodes at level 3 using right click on level 2 node. Its somewhat like context menu in winforms
3) So how can i achieve it in aspx pages in asp.net

Please Help Me!!!!!!!!!!
Thank You All

解决方案

You will need to do this on the client side via JavaScript.

Using the ASP.Net Context menu

Some ASP.Net Menus from the ASP.Net community that may help you get where you are need to be a bit faster (some are free some cost


).

jQuery context menu that may be of use to you, jQuery context menu.


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

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