I cam across this thread that ask how to access local resource and he solved his own problem but my situation is a little bit different.
Areas>Models>Support>Localization
MyResouces.resx
SupportModel
Inside my SupportModel I want to access values from Localization/MyResouces.resx. What is the syntax?
One solution is to use HttpContext.GetLocalResourceObjec(virtual path, key) but it has not worked for me. I have used
GetLocalResourceObject("~/Areas/Models/Support/SupportModel", "option1Text")
I also renamed the Localization folder to App_LocalResources but that did not solve the problem. May I am doing something wrong?
Note that I have modified my code as I did not want to post the real code. Thx