This is a migrated thread and some comments may be shown as answers.

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

1 Answer 46 Views
PanelBar
This is a migrated thread and some comments may be shown as answers.
Konstantin Klokachev
Top achievements
Rank 1
Konstantin Klokachev asked on 30 Sep 2009, 03:33 PM
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

1 Answer, 1 is accepted

Sort by
0
Peter
Telerik team
answered on 07 Oct 2009, 10:37 AM
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.
Tags
PanelBar
Asked by
Konstantin Klokachev
Top achievements
Rank 1
Answers by
Peter
Telerik team
Share this question
or