楼主不是自己已经知道什么样实现了吗?
是弹出层不知道什么做?还是生成treeview节点不知道如何做?还是选中一个节点时要显示节点的标题到另外的控件实现不了?
1、弹出层网上大把代码,找到应该不是难事
2、treeview生成用递归
3、选中显示用JS可以获取,如果树的服务器控件,在后台取更容易

解决方案 »

  1.   

    if (e.Row.RowType == DataControlRowType.DataRow)
    {
     Attributes["onclick"] = string.Format("window.showModalDialog('Details.aspx?ID={0}');", ID);
    }
    protected void GridView1_RowDataBound(object sender, GridViewRowEventArgs e)
      {
      if (e.Row.RowType == DataControlRowType.DataRow)
      {
      string id = e.Row.Cells[0].Text;
      e.Row.Attributes.Add("onclick", "javascript:showDialog('"+id + "');");
      }   
      }
    function showDialog(id)
    {
    window.open('aa.aspx?id' + id,'','width=100px,height=100px');   
    }  
    <asp:LinkButton ID="LinkButton1" OnClientClick="window.open(xxx.aspx','_blank')" runat="server">LinkButton</asp:LinkButton>通过hiddenfield获取数据
    window.opner.documwent.getElementById('').value="";