Jun 19, 2012, 6:40 PM
[CLOSED] How to include a js/css file with ResourceManager?
Hi,
Please suggest an approach to include/parse the content of a javascript file on the page using ResourceManager or otherwise. I do it rather a traditional way adding a HtmlGenericControl with the "type" and "src" attributes in the overriden page OnInit event. When a resource on the server is modified, I'd like it to be refreshed on the client on the next user request. Right now, it appears to be cached on the client. I believe I could control the cache policy using page META tags or/and Response headers on the server, but maybe there's a better and cleaner way to achieve that in Ext.Net?
Thanks,
Vadym
Please suggest an approach to include/parse the content of a javascript file on the page using ResourceManager or otherwise. I do it rather a traditional way adding a HtmlGenericControl with the "type" and "src" attributes in the overriden page OnInit event. When a resource on the server is modified, I'd like it to be refreshed on the client on the next user request. Right now, it appears to be cached on the client. I believe I could control the cache policy using page META tags or/and Response headers on the server, but maybe there's a better and cleaner way to achieve that in Ext.Net?
Thanks,
Vadym
Last edited by Daniil; Jun 20, 2012 at 9:03 PM.
Reason: [CLOSED]