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