我有兩個嵌套的UpdatePanle和父窗格中的按鈕和編輯器以及子面板中的GridView。嵌套更新面板問題
<asp:UpdatePanel ID="UpdatePanel1" runat="server" UpdateMode="Conditional">
<ContentTemplate>
<asp:Button ID="btn_UsersList" runat="server"
OnClick="btn_UsersList_Click" Text="users" />
<asp:UpdatePanel ID="UpdatePanel2" runat="server" UpdateMode="Conditional">
<ContentTemplate>
<asp:GridView ID="GridView_UsersList" runat="server">
</asp:GridView>
</ContentTemplate>
<Triggers>
<asp:AsyncPostBackTrigger ControlID="btn_UsersList"
EventName="Click" />
</Triggers>
</asp:UpdatePanel>
<fckeditorv2:fckeditor id="FCKeditor_Message" runat="server"
basepath="~/fckeditor/"></fckeditorv2:fckeditor>
</ContentTemplate>
</asp:UpdatePanel>
我想單擊按鈕時更新子面板,但不更新父UpdatePanel.How我可以這樣做嗎?我的代碼有什麼問題? 預先感謝您
不要忘了你可以調用面板中的Refresh()方法... – jcolebrand 2010-09-19 11:18:48