Is it possible to create a javascript file with some C# variables? Something like this:
var foo = <%= CODE_VALUE.foo %>;
Or do I hav
No you cannot use server side tags in .js files. Instead create the variables on the pages/controls where you need them.