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.
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.