0

How to use Resource file values in javascript asp.net form applications. I have a folder called Resources inside that I have TestResources.resx file. There I want to get ErrorMessage value. I have written below code inside but nothing returned.

var [email protected];
alert(alertValue);
2

1 Answer 1

0

Create an HTTP handler that replaces your dictionary keys with the actual values. Remember that you would need to handle caching yourself.

Here's an example: http://madskristensen.net/post/localize-text-in-javascript-files-in-aspnet

Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.