AJAX-TabPanel -事件的添加

来源:互联网 发布:ubuntu 安装wps 编辑:程序博客网 时间:2024/05/16 06:10

TabContainer如何加事件,想单击BTN按钮对数据库执行更新操作,可是BTN没有事件,该如何解决           
           <cc1:TabPanel ID="TabPanel4" runat="server" HeaderText="添加故障类型">
           <ContentTemplate >
           <div><table Width="100%"><tr><td Width="100%">
               <asp:TextBox ID="TextBox_jieguo_add" runat="server" Width="100%"></asp:TextBox></td></tr></table></div>
              <div><table ><tr><td>
               <asp:Button ID="Btn" runat="server" Text="添加" /></td></tr></table></div>
           </ContentTemplate></cc1:TabPanel>
          
       </cc1:TabContainer>

多谢同学帮忙

问题己解决,不用VS编辑器,自己强加事件也可以<asp:Button ID="Btn_addjieguo" runat="server" Text="添加" OnClick ="btn_click" />
protected void btn_click(object sender, EventArgs e)
    {
     
    }

原创粉丝点击