Sep 12, 2012, 3:46 PM
[CLOSED] Custom control and Resources property
I created a custom control in my web project. The control is a panel that renders a form and a grid. The control has its own javascript and css files located in the web project. I have two questions in regards to setting up resources for this control.
1. Is there a way for the control to specify to always load from file even though the global ResourceManager is not set to load from file? This is important because I do not intend to embed the javascript and css files for this control as embedded dll resources since it's inside my web project. I also want to be able to change the javascript file and refresh the browser to see the changes without having to rebuild the web project.
2. How do I add resources for gridpanel to the Resources property? If someone drops this control on a page, I want both my custom resources to be loaded plus the GridPanel resources.
1. Is there a way for the control to specify to always load from file even though the global ResourceManager is not set to load from file? This is important because I do not intend to embed the javascript and css files for this control as embedded dll resources since it's inside my web project. I also want to be able to change the javascript file and refresh the browser to see the changes without having to rebuild the web project.
2. How do I add resources for gridpanel to the Resources property? If someone drops this control on a page, I want both my custom resources to be loaded plus the GridPanel resources.
Last edited by Daniil; Sep 18, 2012 at 12:26 PM.
Reason: [CLOSED]