“/”应用程序中的服务器错误。

类型“AspNetPager”的控件“AspNetPager3”必须放在具有 runat=server 的窗体标记内。

说明: 执行当前 Web 请求期间,出现未经处理的异常。请检查堆栈跟踪信息,以了解有关该错误以及代码中导致错误的出处的详细信息。

异常详细信息: System.Web.HttpException: 类型“AspNetPager”的控件“AspNetPager3”必须放在具有 runat=server 的窗体标记内。

源错误:


行 104:            frameborder="0" style="float: left;"></iframe>
行 105:    </div>
行 106:    <div class="lxyz_mian" id="Plurality" style="<%=Pluralitydisplays%>">
行 107:        <div class="main_top">
行 108:            <table width="100%" border="0" cellspacing="0" cellpadding="0">

源文件: e:\webserver\NmkyWeb\Anterior_Lxyz.aspx    行: 106

堆栈跟踪:


[HttpException (0x80004005): 类型“AspNetPager”的控件“AspNetPager3”必须放在具有 runat=server 的窗体标记内。]
   System.Web.UI.Page.VerifyRenderingInServerForm(Control control) +11828338
   Wuqi.Webdiyer.AspNetPager.AddAttributesToRender(HtmlTextWriter writer) +101
   System.Web.UI.WebControls.Panel.RenderBeginTag(HtmlTextWriter writer) +32
   Wuqi.Webdiyer.AspNetPager.RenderBeginTag(HtmlTextWriter writer) +304
   System.Web.UI.WebControls.WebControl.Render(HtmlTextWriter writer) +31
   System.Web.UI.Control.RenderControlInternal(HtmlTextWriter writer, ControlAdapter adapter) +80
   ASP.anterior_lxyz_aspx.__Render__control1(HtmlTextWriter __w, Control parameterContainer) in e:\webserver\NmkyWeb\Anterior_Lxyz.aspx:106
   System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children) +263
   System.Web.UI.Page.Render(HtmlTextWriter writer) +39
   System.Web.UI.Control.RenderControlInternal(HtmlTextWriter writer, ControlAdapter adapter) +80
   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +8921


版本信息: Microsoft .NET Framework 版本:4.0.30319; ASP.NET 版本:4.6.1055.0