c# - js and css control in Dotnetnuke SPA Module -


how can add js lib module if module on edit mode or pass condition

<!-- if have admin permission --> [javascript:{ path: "~/resources/shared/scripts/manager.js"}] <!-- else --> [javascript:{ path: "~/resources/shared/scripts/user.js"}]  <div id="items-[modulecontext:moduleid]">   <!-- module content --> </div> 


Comments

Popular posts from this blog

Is there a better way to structure post methods in Class Based Views -

Qt QGraphicsScene is not accessable from QGraphicsView (on Qt 5.6.1) -

What is happening when Matlab is starting a "parallel pool"? -