Good day
I have a control that was added as n module to DNN, In the code behind im trying to read my App_LocalResource file for a key to use within the control.
Now, the resource file is named exactly the same as the control with the obvious .resx extra e.g test.ascx.resx and the control the same. I have been searching for a while now and but nothing gets returned or I get an error
I have tried the following with no luck whatsoever, I set a labal with string.Format("Test{0}",Localization.GetString("TariffBookSearch_URL.Text", LocalResourceFile));
I see the "Test" part but nothing from the local resource file also I Have tried to see what I get when I say this.LocalResourceFile.ToString() on the label and get the exact path without the .ascx.resx
Here are the different pieces of code I have tried I also trieg GetLocalResourceObject with no luck
Localization.GetString("TariffBookSearch_URL.Text", LocalResourceFile);
Localization.GetString("TariffBookSearch_URL", LocalResourceFile);
Localization.GetString("TariffBookSearch_URL",this. LocalResourceFile);