0
点赞
收藏
分享

微信扫一扫

使用UpdatePanel时出现table can't place inside updatePanel,table不能嵌套在updatepanel中的错误...





起初以为是WEB.Config未配置好或System.Web.Extensions或Microsoft.web.Preview未引用

最后通过GOOGLE搜到关于table can't place inside updatePanel的文章

使用<ContentTemplate>即可解决问题:

Code:

<asp:UpdatePanel ID="UpdatePanel1" runat="server"> 
 
    <ContentTemplate> 
 
          <table>.....</table> 
 
    </ContentTemplate> 
 
</asp:UpdatePanel>



很简单的原因,却被自己忽略,所以记录下来,加深印象

举报

相关推荐

使用React-Router时出现的错误

0 条评论