This project is read-only.

Occur Javascript Exception


Hi~ Siderite,
I tried to add your component into my project as below steps,
  1. Web.config -> sys.web --> httpHandlers appends:
    <add path="CommandHandler.axd" verb="GET,HEAD" type="Siderite.Web.Handlers.CommandHandler" validate="true" />
  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 :
    .....Why? Can you help me to reduced the UpdatePanel output ?


codeanalyst wrote Sep 4, 2012 at 1:23 PM

am also facing same issue no clues.
on this line , when aync postback occurs.
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:

wrote Feb 1, 2013 at 4:57 AM