How to pass a resource file string to a function in an external .js file
Posted
by
hima
on Stack Overflow
See other posts from Stack Overflow
or by hima
Published on 2011-01-07T10:49:04Z
Indexed on
2011/01/07
10:54 UTC
Read the original article
Hit count: 221
Hi ,
There is a Messages.resx file under App_GlobalResources in my solution. Everytime i create a string and give a value to the string
internal static string Alert_EnterUserName { get { return ResourceManager.GetString("Alert_EnterUserName", resourceCulture); } }
is created automatically.
Can anybody guide me how to use this string in a function which is present in a seperate .js file?
Thanks in advance
© Stack Overflow or respective owner