November Happy Hour will be moved to Thursday December 5th.

Print DojoConfig in HTML

Vote:
 

hello,

I'm creating a page basing on this article http://jondjones.com/how-to-create-your-own-episerver-global-menu-section/

and I want to add dojo into this page.

How to print dojoconfig and dojo.js script tag from the episerver settings?

Thank

Fura

#132890
Aug 20, 2015 12:26
Vote:
 

Problem solved. Achieved it with this line:

@Html.Raw(DojoConfigurationHelper.ConfigureDojo(null, new DojoConfig { Async = true }))



#132938
Aug 21, 2015 10:10
* You are NOT allowed to include any hyperlinks in the post because your account hasn't associated to your company. User profile should be updated.