TabContainer中点击第一个TabPanel中的按钮希望更新第二个TabPanel中UpdatePanel的内容,使用triggers触发器,但页面出错,提示无法在该UpdatePanel中找到该按钮ID。

解决方案 »

  1.   

    怎么都没人回帖了,早上都不上CSDN了么?
      

  2.   

    代码 也不贴出来 
    谁说早上不上CSDM啊 
    项目开发完了 测试 修改 期间  正式上csdn的好时候 呵呵
      

  3.   

    源码如下:<ajaxtoolkit:tabcontainer id="Tabs" runat="server" height="150px" onclientactivetabchanged="ActiveTabChanged">
                <ajaxToolkit:TabPanel ID="ElementInfo" runat="Server" HeaderText="项目元素" OnClientClick="ElementInfoClick">
                    <ContentTemplate>
                           
                                                   
                                                            <asp:RadioButtonList ID="rdPorjectPro" runat="server" Width="100%" OnSelectedIndexChanged="ddrPorjectPro_SelectedIndexChanged"
                                                            AutoPostBack="true" RepeatDirection="Horizontal" Height="8px" RepeatColumns="3"
                                                            RepeatLayout="Flow" CellSpacing="0" CellPadding="0" BackColor="transparent" BorderStyle="None" CssClass="input"></asp:RadioButtonList>
                                                       
                                             
                    </ContentTemplate>
                </ajaxToolkit:TabPanel>
                
                <ajaxToolkit:TabPanel ID="BaseInfo" runat="Server" HeaderText="项目基本信息" OnClientClick="BaseInfoClick">
                    <ContentTemplate>
                        <asp:UpdatePanel ID="upBaseInfor" runat="server" UpdateMode="conditional">
                           <contenttemplate>
                               
                               ...................................................
                                    
                          
                            <triggers>
                             <asp:asyncpostbacktrigger ControlID="rdPorjectPro" eventname="SelectedIndexChanged"></asp:asyncpostbacktrigger>[/color]                      </triggers>
                         </asp:UpdatePanel>
                         
                    </ContentTemplate>
                </ajaxToolkit:TabPanel>错误信息:
    A control with ID 'rdPorjectPro' could not be found for the trigger in UpdatePanel 'upBaseInfor'.