Embedding ASP.NET Server Variables in Client JavaScript
Posted by: Rick Strahls WebLog,
on 12 Feb 2008 |
View original | Bookmarked: 0 time(s)
Jon Galloway had an interesting post over the weekend regarding Getting JavaScript and ASP.NET talking (outside of AJAX). The post discusses a problem Jon was having in getting server variables to be accessible in client-side JavaScript code and his solution as part of a control using the ASP.NET AJAX IScriptControl interface. In the comments I remarked that this process seems awfully complex to do an essentially simple thing: Embed script code into a page. However,the problem addressed in the post...