本文介绍了如何在Devexpress树形列表中获取选定节点的键值的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我正在使用名为devexpress的第三方控制工具.在这种情况下,我正在使用树列表控件.我的问题是,当我单击HTML图像按钮时,我想在客户端事件中获取该树形列表的焦点节点ID.当我第一次单击图像按钮时,它会给出当前的焦点节点ID.但是,当我单击下一个节点图像按钮时,它给出了上一个节点的聚焦ID.如何解决此问题.
在Advance中致谢
Hi,
I am using the third party control tool named devexpress. In that I am using the treelist control. My problem is when I Click the HTML image button I want to get the focused node ID of that treelist in Client Side Event. When I click the image button for the first time it giving the current focus node id. But when I Click the next node image button its giving the previous node Focused ID. How to solve this issue.
Thanks in Advance
推荐答案
object keyValue = treeList1.FocusedNode[treeList1.KeyFieldName];
这篇关于如何在Devexpress树形列表中获取选定节点的键值的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!