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 -

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

php - Cannot override Laravel Spark authentication with own implementation -