Go to previous topic
Go to next topic
Last Post 12 Sep 2016 09:54 PM by  Pengtsen R
For load css and js use DotNetNuke.Web.Client.ClientResourceManagement
 1 Replies
Author Messages

New Member

New Member

08 Sep 2016 01:40 PM
    For load css and js please use DotNetNuke.Web.Client.ClientResourceManagement
    to Comperess css and js and better performance

    DotNetNuke.Web.Client.ClientResourceManagement.ClientResourceManager.RegisterStyleSheet(this.Page, ResolveUrl(ControlPath + "js/dropzone/dropzone.css"));
    DotNetNuke.Web.Client.ClientResourceManagement.ClientResourceManager.RegisterScript(this.Page, ResolveUrl(ControlPath + "js/dropzone/dropzone.js"));

    Basic Member

    Basic Member

    12 Sep 2016 09:54 PM
    This will be reviewed in future upgrades. Thank you.