如何在jquery中获取asp treeview中的选定节点 [英] How to get selected node in asp treeview in jquery

查看:77
本文介绍了如何在jquery中获取asp treeview中的选定节点的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一个asp:treeview,在后面的代码中填充了XmlDataSource。

I have a asp:treeview that is filled with XmlDataSource in code behind.

TreeView1.DataSource = XDdataSource;



我在每个节点中放置了一些信息,如下所示:


and I put some information in each node in some properties like below:

TreeNodeBinding Binding = new TreeNodeBinding();

        Binding.TextField = "FullName";

        Binding.TargetField = "IDD";

        Binding.ValueField = "ID";

        TreeView1.DataBindings.Add(Binding);





每个节点也可以通过复选框选中它的一面。



现在我的问题是:如何使用jquery获取选定的节点?



感谢先进。



also each node can be selected by checkbox in the side of it.

Now my question is this:how can I get selected node using jquery?

Thanks in advanced.

推荐答案

这篇关于如何在jquery中获取asp treeview中的选定节点的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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