如何在gridView中更新UpdatePanel。我的删除按钮我没事。但是我必须刷新页面才能看到变化。
btn按钮和litTest用于检查updatePanel。
我希望有人能帮我什么错..。
发布于 2013-12-22 15:57:20
通过调用GridViewBruger.DataBind()对GridView后面的代码进行更新。
另外,如果添加更新按钮,在更新面板中,以及后面的代码上,只需调用DataBind(),网格视图也将被更新。
.....
</asp:GridView>
<asp:Button ID="btn" Text="testUpdatePanel" runat="server" OnClick="btn_Click" />
</ContentTemplate>
</asp:UpdatePanel>https://stackoverflow.com/questions/20730972
复制相似问题