Error!
Success!

Embedding ASP.NET Server Variables in Client JavaScript

0
kicks

Embedding ASP.NET Server Variables in Client JavaScript  (Unpublished)

Getting Server Variables embedded into a page and using them from JavaScript code can be a pain. Following Jon Galloway's post a few days ago I thought that maybe a solution that doesn't rely on ASP.NET AJAX and is more generic might be useful to make the task easier and apply much broader scope. The result is an easy to use, generic class that generates a JavaScript object from key value pairs created on the server from static values or dynamic control/object properties.


Kicked By:
Drop Kicked By: