SiteModuleControl script loading

This is a forum to suggest new features for mojoPortal. 

This thread is closed to new posts. You must sign in to post in the forums.
4/6/2010 6:38:17 PM
Gravatar
Total Posts 72

SiteModuleControl script loading

Hi Joe,

Most of the features we have developed use some level of javascript. Currently we are using a custom script loader control to register the scripts (similar to how the mojoPortal script loader works).

It would be useful if the SiteModuleControl had a scripts collection or helper method that feature classes could use to load any required scripts.

This is how our current implementation works:

            scriptLoader.Scripts.Add("jquery.oembed.min.js");
            scriptLoader.Scripts.Add("vimeooembed.js");

It would be nice if SiteModuleControl had a similar Scripts property.

Of course it could be that something like this is already available so please do let me know if this is the case.

Many thanks,
Ben

You must sign in to post in the forums. This thread is closed to new posts.