protected void Page_Load(object sender, EventArgs e) { try { //note page load runs after LoadSettings(); because of dynamic control loading //now get the javascript in ScriptController.InjectjQueryLibary(this.Page, true, true); //module-specific jquery code ScriptController.InjectJsLibrary(this.Page, "nap", this.ControlPath + "/js/nap.js", true, ScriptController.ScriptInjectOrder.e_Default); //and get the css file in ScriptController.InjectCssReference(this.Page, "nap_css", this.ControlPath + "/newsarticlesprovider.css", true, ScriptController.CssInjectOrder.f_Last); //and put in a pre-dnn 6 ui script plus the jquery tabs library string preDnn6CssFile = this.ControlPath + "/ui-tabs.css"; ScriptController.InjectjQueryTabsCss(this.Page, preDnn6CssFile, null); } catch (Exception ex) { DotNetNuke.Services.Exceptions.Exceptions.ProcessModuleLoadException(this, ex); } }