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 -

performance - Why is XCHG reg, reg a 3 micro-op instruction on modern Intel architectures? -

jquery - Responsive Navbar with Sub Navbar -