如题

解决方案 »

  1.   

    TreeView1.Nodes[0].Text = "<div onclick = "+Page.GetPostBackEventReference(this.Button1)+">节点一</div>"; ///这个节点触发Button1的后台事件
      

  2.   

    这个this.Button1是要设立一个吗?参数如何传递呢?
      

  3.   

    TreeView1.Nodes[0].Text = "<div onclick = "+Page.GetPostBackEventReference(this.Button1)+">节点一</div>"; ///这个节点触发Button1的后台事件
    ====================================我一定要写一个Button1事件吗?
      

  4.   

    把treeview的autopostback设为true吧
    然后把那些不想回送的事件加上脚本, 返回false