Looking for the old forum?

For topics posted before June 2015, please click here to visit the old support forum. Post your questions in this forum if you have any questions.

Support Forums
PrevPrev Go to previous topic
NextNext 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
Sort:
You are not authorized to post a reply.
Author Messages


New Member


Posts:18
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


    Posts:189
    Basic Member


    --
    12 Sep 2016 09:54 PM
    This will be reviewed in future upgrades. Thank you.
    You are not authorized to post a reply.


    Copyright © 2005-2013 BizModules Contact us