Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Andrew L 44 posts 44 karma points
    Oct 29, 2010 @ 07:23
    Andrew L
    0

    Client Dependency Module is killing Peter Blum's javascript

    I believe that the Client Dependency Framework as implemented by Umbraco is causing Peter Blum's validation javascript to go bananas.

    The javascript for Peter Blum's controls are rendered through a file called '/DES/GetFiles.aspx'.

    If I remove the ClientDependency http module and http handler, the script works, but if I add them in, the script breaks.

    This only occurs on my production server, and only if the compilation element in web.config is set with debug="false".

    How can I fix this?

  • Aaron Powell 1708 posts 3046 karma points c-trib
    Oct 29, 2010 @ 09:56
    Aaron Powell
    0

    What the hecks Peter Blum's JavaScript thing?

  • Petr Snobelt 923 posts 1535 karma points
    Oct 29, 2010 @ 10:11
  • Andrew L 44 posts 44 karma points
    Oct 29, 2010 @ 11:09
    Andrew L
    0

    It's a popular validation framework: http://lmgtfy.com/?q=peterblum

  • Aaron Powell 1708 posts 3046 karma points c-trib
    Oct 29, 2010 @ 11:46
    Aaron Powell
    0

    Anything that serves out JavaScript for an ASPX file would be uninstalled from any project I was on, but that's just my opinion.

    What errors is it producing when you have CD enabled?

    Can you check the host headers that are being set for /DES/GetFiles.aspx to ensure that it's being set as JavaScript.

  • This forum is in read-only mode while we transition to the new forum.

    You can continue this topic on the new forum by tapping the "Continue discussion" link below.

Please Sign in or register to post replies