Copied to clipboard

Flag this post as spam?

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


  • Tony Bolton 83 posts 109 karma points
    Apr 28, 2011 @ 18:58
    Tony Bolton
    0

    Help! Problems with uComponents and automatically adding resources

    Hi,

    I hope someone can help as this is driving me nuts.

    The CommentRSS.aspx page is not working on my site as whenever it's called, I get an error stating that :

    An exception occurred!  Tried to add webresourceurl uComponents.Core.Shared.Resources.Scripts.jquery.simulate.js to type System.RuntimeType

    I know from previous issues like this it's all to do with the fact that the head element on the page isn't set to runat=server.  I've proven this by editing the CommentRSS.aspx template and adding head runat="server" to it, which allows the page to run, but obviously makes the RSS feed invalid as it's dumped a load of WebResource.axd scripts into the Head element.

    My question is : why is the system insisting that it writes these dependencies to the master page?  I can't just add a 'head runat="server"' to this template as it'll invalidate the XML as described.  

    Any ideas - I'm really stumped! 

    Cheers,

    Tony

  • 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