Warning: file_get_contents(/data/phpspider/zhask/data//catemap/9/javascript/376.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Javascript Ajax更新面板随机错误';PRM缺失面板';_Javascript_C#_Asp.net_Ajax_Updatepanel - Fatal编程技术网

Javascript Ajax更新面板随机错误';PRM缺失面板';

Javascript Ajax更新面板随机错误';PRM缺失面板';,javascript,c#,asp.net,ajax,updatepanel,Javascript,C#,Asp.net,Ajax,Updatepanel,我使用VisualStudio中的Ajax更新面板来处理网站上搜索功能的回发。(即搜索成员)将生成带有结果的gridview。每次我从TFS获得最新版本时,它都会抛出以下错误: 中第1行第132567列的未处理异常?JavaScript运行时错误:无法获取未定义或空引用的属性“PRM_MissingPanel” 在它崩溃之后,我可以再次调试,直到我得到一个更新的版本,它才会崩溃 我在谷歌上搜索了很多次,却找不到PRM_MissingPanel是什么 你知道为什么会这样吗 MsAjaxBundle

我使用VisualStudio中的Ajax更新面板来处理网站上搜索功能的回发。(即搜索成员)将生成带有结果的gridview。每次我从TFS获得最新版本时,它都会抛出以下错误:

中第1行第132567列的未处理异常?JavaScript运行时错误:无法获取未定义或空引用的属性“PRM_MissingPanel”

在它崩溃之后,我可以再次调试,直到我得到一个更新的版本,它才会崩溃

我在谷歌上搜索了很多次,却找不到PRM_MissingPanel是什么

你知道为什么会这样吗

MsAjaxBundle来自ScriptManager,它是在我创建Web应用程序时生成的:

    <asp:ScriptManager runat="server">
        <Scripts>
            <asp:ScriptReference Name="MsAjaxBundle" />
            <asp:ScriptReference Name="jquery" />
            <asp:ScriptReference Name="bootstrap" />
            <asp:ScriptReference Name="respond" />
            <asp:ScriptReference Name="WebForms.js" Assembly="System.Web" Path="~/Scripts/WebForms/WebForms.js" />
            <asp:ScriptReference Name="WebUIValidation.js" Assembly="System.Web" Path="~/Scripts/WebForms/WebUIValidation.js" />
            <asp:ScriptReference Name="MenuStandards.js" Assembly="System.Web" Path="~/Scripts/WebForms/MenuStandards.js" />
            <asp:ScriptReference Name="GridView.js" Assembly="System.Web" Path="~/Scripts/WebForms/GridView.js" />
            <asp:ScriptReference Name="DetailsView.js" Assembly="System.Web" Path="~/Scripts/WebForms/DetailsView.js" />
            <asp:ScriptReference Name="TreeView.js" Assembly="System.Web" Path="~/Scripts/WebForms/TreeView.js" />
            <asp:ScriptReference Name="WebParts.js" Assembly="System.Web" Path="~/Scripts/WebForms/WebParts.js" />
            <asp:ScriptReference Name="Focus.js" Assembly="System.Web" Path="~/Scripts/WebForms/Focus.js" />
            <asp:ScriptReference Name="WebFormsBundle" />
        </Scripts>
    </asp:ScriptManager>

问题是我隐藏了一个div,其中包含更新面板,然后将visible更改为true,但更新面板实际上没有显示出来

以下是我将其更改为的内容,以便更新面板始终存在,而不是消失或重新出现:

<asp:UpdatePanel ID="UpdatePanel1" runat="server">
    <ContentTemplate>
        <div visible="false" id="Search" runat="server">
            <div style="overflow: hidden;">

这里也有同样的问题:在我的Login.aspx页面上,突然间,它似乎无缘无故地突然发生了

提出的解决方案不适用于我的案例,因为我的面板没有隐藏,除了一年来未经修改的同一页面

这是一个非常简单的页面-我尝试了一切,没有运气。。。直到我将ID=“someunrelationdhere”添加到asp:UpdatePanel,即使我没有在codebehind中使用它,即使它已经工作了一年,没有在那里设置明确的ID


因此,我的解决方案是将ID=“something”添加到.ascx文件的updatepanel中。

而wot是
MsAjaxJs
?当我在Visual Studio中创建Web应用程序时,它就在那里