javascript - Ajax Update Panel Random Error 'PRM_MissingPanel' - Stack Overflow

I use the Ajax Update Panel in Visual Studio to handle post backs for my search function on the site. (

I use the Ajax Update Panel in Visual Studio to handle post backs for my search function on the site. (IE searching for a member) Will generate a gridview with the results. Every time I get the newest version from TFS, it throws this error:

unhandled exception at line 1, column 132567 in http://localhost:58921/bundles/MsAjaxJs? JavaScript runtime error: Unable to get the property 'PRM_MissingPanel' of undefined or null reference

After it breaks, I can debug again and it won't break until I get a newer version.

I have done a lot of Googling and I can't find what PRM_MissingPanel is.

Any ideas on why this is happening?

MsAjaxBundle es from ScriptManager, which was generated when I created my Web App:

    <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>

I use the Ajax Update Panel in Visual Studio to handle post backs for my search function on the site. (IE searching for a member) Will generate a gridview with the results. Every time I get the newest version from TFS, it throws this error:

unhandled exception at line 1, column 132567 in http://localhost:58921/bundles/MsAjaxJs? JavaScript runtime error: Unable to get the property 'PRM_MissingPanel' of undefined or null reference

After it breaks, I can debug again and it won't break until I get a newer version.

I have done a lot of Googling and I can't find what PRM_MissingPanel is.

Any ideas on why this is happening?

MsAjaxBundle es from ScriptManager, which was generated when I created my Web App:

    <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>
Share Improve this question edited Apr 7, 2015 at 7:27 Chetdu asked Apr 7, 2015 at 4:40 ChetduChetdu 1361 gold badge2 silver badges12 bronze badges 2
  • And wot is MsAjaxJs ? – Rajeev Mehta Commented Apr 7, 2015 at 4:52
  • It was something that was just there when I created my Web App in Visual Studio – Chetdu Commented Apr 7, 2015 at 5:15
Add a ment  | 

2 Answers 2

Reset to default 2

The problem was that I was hiding a div with the update panel inside of it, and then changing the visible to true, but the Update Panel wasn't actually showing up.

Here is what I changed it to so that the update panels are always present as opposed to disappearing and reappearing:

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

Same issue here: on my Login.aspx page suddenly it seems to happen out of nowhere for no apparent reason.

the solution proposed didn't apply to my case as my panel was not hidden, besides the same page used to work unmodified for one year.

It's a pretty simple page - I tried literally everything, no luck... until I added ID="SomeUnrelevantIDhere" to the asp:UpdatePanel, even though I don't use it in codebehind and even though it has been working for one year without an explicit id set there...

so my solution consisted in adding ID="something" to the updatepanel in the .ascx file.

发布者:admin,转转请注明出处:http://www.yc00.com/questions/1745307140a4621779.html

相关推荐

发表回复

评论列表(0条)

  • 暂无评论

联系我们

400-800-8888

在线咨询: QQ交谈

邮件:admin@example.com

工作时间:周一至周五,9:30-18:30,节假日休息

关注微信