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

Add javascript and css to gadget in runtime

Vote:
 

Hi,

Is there any alternative to ScriptResource and ScriptResource attributes in gadgets?

We decided to add a gadget to perform forum moderation and realize that (EPiserver) recommeded way of registering script and css resources in the corresponding controller(s) is not working for us. First, we want to control e.g.  jquiery-ui themes in web.config without recompiling controllers. Second, I dont fully understand why conrtoller have to know how the view is going to render the content and which js files it may want to have.

#43847
Sep 26, 2010 18:37
* 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.