This project is read-only.
2
Vote

Occur Javascript Exception

description

Hi~ Siderite,
I tried to add your component into my project as below steps,
  1. Web.config -> sys.web --> httpHandlers appends:
    <httpHandlers>
    <add path="CommandHandler.axd" verb="GET,HEAD" type="Siderite.Web.Handlers.CommandHandler" validate="true" />
    </httpHandlers>
  2. In master page --> Page_Load appends,
    protected void Page_Load(object sender, EventArgs e)
    {
    Response.Filter = new UpdatePanelShrinkerFilter(Response.Filter, Page);
    }
     
    After the Ap was running, I got one javascript exception :
     
    this._destroyTree(updatePanelElement);
     
    .....Why? Can you help me to reduced the UpdatePanel output ?

comments

codeanalyst wrote Sep 4, 2012 at 1:23 PM

am also facing same issue no clues.
on this line , when aync postback occurs.
this._destroyTree(updatePanelElement);
Microsoft JScript runtime error: Object doesn't support this property or method

Please Help.

Cr0kKy wrote Oct 2, 2012 at 11:10 AM

this._destroyTree seems obsolete in new ajax framework;
I think code needs to be changed to:

Sys.Application.disposeElement(updatePanelElement, true);

Check this discussion:
http://updatepanelshrinker.codeplex.com/discussions/397223

wrote Feb 1, 2013 at 4:57 AM