How do I register a Javascript variable on the server side (backend) and access it on the client side (Javascript file), without a hidden field, Literal, etc.?
You can put the following code in .aspx file ...
<%: %> works under ASP.NET 4