2009-08-25 11 views
0

1つのUpdatePanel内の1つのコンテンツテンプレートに両方のtd定義を含めると、次のエラーが表示されます。 Error:Sys.InvalidOperationException:ID「ctl00_schoolAdmin_UpdatePanelSchoolAddress」のUpdatePanelが見つかりませんでした。それが動的に更新されている場合、それは私が今、2つの更新パネル(以下のような)にTDを分割しなければならなかったUpdatePanel内のコンテンツテンプレート

別のUpdatePanel」」内でなければならない、これを回避する方法は?あり

<tr> 
    <td style="width: 180px"> 
     <!-- Update panel to show School Address Header --> 
     <asp:UpdatePanel ID="UpdatePanelSchoolAddressHeader" runat="server" UpdateMode="Conditional"> 
      <ContentTemplate> 
       <asp:Label ID="frmSchoolAddressHeader" runat="server" Text="Address" Visible="false"></asp:Label> 
      </ContentTemplate> 
      <Triggers> 
       <asp:AsyncPostBackTrigger ControlID="SchoolLEADropDownList" /> 
       <asp:AsyncPostBackTrigger ControlID="FindSchoolIDButton" /> 
      </Triggers> 
     </asp:UpdatePanel> 
    </td> 
     <!-- Update panel to show School Address Text --> 
    <td style="width: 300px"> 
     <asp:UpdatePanel ID="UpdatePanelSchoolAddress" runat="server" UpdateMode="Conditional"> 
      <ContentTemplate> 
       <asp:Label ID="frmSchoolAddressText" runat="server" Visible="false"> </asp:Label> 
       </td> 
      </ContentTemplate> 
      <Triggers> 
       <asp:AsyncPostBackTrigger ControlID="SchoolLEADropDownList" /> 
       <asp:AsyncPostBackTrigger ControlID="FindSchoolIDButton" /> 
      </Triggers> 
     </asp:UpdatePanel> 
    </td> 
</tr> 

ありがとうございました

答えて

関連する問題