This project is archived and is in readonly mode.

#734 ✓wontfix
mingqlin

Conflict between Microsoft Ajax and MooTools 1.2.3

Reported by mingqlin | August 21st, 2009 @ 03:20 PM | in 2.0 (closed)

  1. MooTools is causing a runtime exception in the Microsoft Ajax Extention script
    library. (Environment: Visual Studio 2008, .Net Framework 3.5, with Mootools 1.2.3)

This JS runtime exception occurs anytime I click anywhere on the page.
I have been debugging this thing all morning and haven't made much
progress.

// Name: MicrosoftAjaxWebForms.debug.js // Assembly: System.Web.Extensions

Line: 722
Error: Object doesn't support this property or method

Here's the JS code from that section:

function Sys$WebForms$PageRequestManager$_matchesParentIDInList
(clientID, parentIDList) {

for (var i = 0, l = parentIDList.length; i < l; i++) {
    if (clientID.startsWith(parentIDList[i] + "_")) {
        return true;
    }
}
return false;

}

If I remove the MooTools script reference from my page, the error
stops occurring.
This error show up on both Version 1.2.3 and 1.2.2 Core.
This error doesn't occur on Version 1.2.1.

Comments and changes to this ticket

  • cscortes

    cscortes August 26th, 2009 @ 05:04 AM

    I had this problem too. I tracked it down to the scriptmanager tag in Asp.net. Removed it, and mootools worked fine.

  • Jan Kassens

    Jan Kassens November 21st, 2009 @ 05:24 PM

    • Assigned user set to “Jan Kassens”
    • State changed from “new” to “hold”

    If someone has a fix for that, I'm open for it. But it might be just an incompatibility between frameworks that can't really be fixed.

    @cscortes can you post the file + line in question somewhere? Maybe we can have a simple fix.

  • Christoph Pojer

    Christoph Pojer November 9th, 2010 @ 07:25 PM

    • State changed from “hold” to “wontfix”
    • Milestone order changed from “0” to “0”
  • tatvasoft

    tatvasoft May 3rd, 2011 @ 02:28 PM

    hi,
    i have also facing the same problem. have any one get solution for this issue.
    i m using mootools-core-1.3-full-compat-yc.js and mootools-more.js.
    if i m using script manager with this js files then it creates conflicts

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile »

Shared Ticket Bins

People watching this ticket

Pages