我有两个嵌套的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