Panel / Javascript at the bottom + DNN Module Cachin - issue

2 posts, 0 answers
  1. Konstantin Klokachev
    Konstantin Klokachev avatar
    2 posts
    Member since:
    Dec 2007

    Posted 30 Sep 2009 Link to this post

    Hello,

    I am trying to use the panel bar together with the DotNetNuke 4.9, having module caching enabled for the module that contains the PanelBar.

    DotNetNuke caches the content of the module (html generated by the module) in a file system, however the PanelBar also adds javascript like 

    Sys.Application.add_init(function() { ... }

    to the bottom of the page.

    Since the javascript is outside of the module content, it does not get cached in a DotNetNuke file and when DNN renders the module from the cache, Javascript is omitted, breaking the functionality.

    Is there a way to include the javascript inside of the moduel instead of having it in the end of the page?

    Thanks
  2. Peter
    Admin
    Peter avatar
    6637 posts

    Posted 07 Oct 2009 Link to this post

    Hi Konstantin,

    This is expected and there isn't a workaround except for disabling the dnn caching.


    Regards,
    Peter
    the Telerik team

    Instantly find answers to your questions on the new Telerik Support Portal.
    Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
  3. UI for ASP.NET Ajax is Ready for VS 2017
Back to Top