0

2 つの UpdatePanels があります。最初のパネルにはボタンがあり、2 番目のパネルにはリピーターがあります。[検索] をクリックすると、クリック後にデータソースが変更されてもリピーターが変更されない理由がわかりません。

<asp:UpdatePanel ID="pnl" runat="server" >
 <ContentTemplate>
.
.

<asp:Button ID="btnfind" runat="server" Text="Find "  OnClick="btnfind_Click" />

<ContentTemplate>
</asp:UpdatePanel>

<asp:UpdatePanel ID="upd" runat="server" UpdateMode="Conditional" >
    <Triggers>
        <asp:AsyncPostBackTrigger ControlID="btnfind" EventName="Click" />
    </Triggers>

    <ContentTemplate>
   <asp:Repeater runat="server" ID="rptItems"  EnableViewState="false">
...
</asp:Repeater>
             </div></div>
    </ContentTemplate>
</asp:UpdatePanel>
4

0 に答える 0