注册 登录
编程论坛 ASP.NET技术论坛

treeview节点的值传入到另一个页面中

dyutao 发布于 2009-11-05 11:49, 803 次点击
只有本站会员才能查看附件,请 登录

只有本站会员才能查看附件,请 登录

点击选择出现Treeview控件,显示部门,然后选中节点的值出现在使用部门的textbox里
3 回复
#2
bygg2009-11-05 12:49
请看 showModalDialog 的用法
#3
dyutao2009-11-05 13:59
不会吧,是B/S啊
#4
闻启学2009-12-29 20:34
  childNode.NavigateUrl = "javascript:SelectUser('" + uinfo.UserName + "');"
  
function SelectUser(userName) {
            
            document.getElementById('<%=txtPrincipalUser.ClientID %>').value = userName;
            document.getElementById('<%=PanlTreeView.ClientID%>').style.display = "none";
        }
1