用JS脚本,当焦点离开TEXTBOX时,执行相应的事件!

解决方案 »

  1.   


    this.treeView1.Nodes.Add("aaa");
    //填架子节点集this.treeView1.Nodes[i].Text="aaa";
    //修改节点textBox1_KeyPress
    //textBox1的 KeyPress 事件
      

  2.   

    TextBox的Textchanged事件本来就是只有在回车时执行,
    <input type="text" onkeypress="if(event.keyCode==13)alert('ss');">
      

  3.   

    我問的問題怎么也沒有人會﹐極度傷心呀
    http://expert.csdn.net/Expert/topic/2389/2389468.xml?temp=.6558954
      

  4.   

    TreeView
    http://expert.csdn.net/Expert/topic/1525/1525202.xmlTextBox
    Add this in Page_Load
    TextBox1.Attributes.Add("onkeyup","__doPostBack('TextBox1','')");
      

  5.   

    我说的编辑树结点是直接在树控件上编辑,修改结点的text
      

  6.   

    已经把DEMO程序发到了你的信箱里