Last post Sep 07, 2011 05:06 AM by Yanping Wang - MSFT
Sep 06, 2011 03:13 AM|jaimalleshk|LINK
I have 2 problems.
1. I cannot access App_LocalResources when I put asp.net file in a folder. It works when I put the file directly in directory. How do I get resources in aspx file when it is put in a folder?
2. I cannot access App_LocalResources from code behind ( even though there is no problem in compile time, runtime it does not work).
Sep 07, 2011 05:06 AM|Yanping Wang - MSFT|LINK
There is a overload method for GetLocalResourceObject(string virtualPath, string resourceKey), you have to give the virtual path and the resource key as parameters. the virtual path is the path to the file and resource key is the key or id of the particular
hope this helps, thanks.