Last post Jul 17, 2007 07:47 PM by Mourad
Jun 20, 2007 04:01 AM|Mourad|LINK
How can I localize strings in ASP.NET .(cs) code files of a page ? Can I use resource files for this as well ?
Jun 20, 2007 10:45 AM|myost2921|LINK
The way to get resource strings in your code-behind window is this:
Where [ResourceFile] is the name of your actual resource file (minus the extension) and [ResourceEntry] is the key that you will need to look into the Resource file.
Jul 17, 2007 07:47 PM|Mourad|LINK
That did not work.
This worked fine:
alert("<asp:Literal runat='server' Text='<%$Resources:resourceName%>'/>")