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...

Advertisement
Free Agile Project Management Tool from Telerik
TeamPulse Community Edition helps your team effectively capture requirements, manage project plans, assign and track work, and most importantly, be continually connected with each other.
Category: ASP.NET | Other Posts: View all posts by this blogger | Report as irrelevant | View bloggers stats | Views: 1831 | Hits: 212

Similar Posts

  • ClientIDMode in ASP.NET 4.0 more
  • How to render the same template on the server and client with minimal redundancy more
  • Adding users to a TFS project when youre not on the domain more
  • Notify Client Applications Using WCF Callbacks more
  • Understanding Reverse Proxy Servers and the Mailman more
  • WebResource access in ASP.NET MVC more
  • Session State Not Working? Check Your Web Garden! more
  • Silverlight 3 and WCF Faults more
  • AJAX Logging with Exponential Backoff more
  • Is It Too Late To Change JSON? more

News Categories

.NET | Agile | Ajax | Architecture | ASP.NET | BizTalk | C# | Certification | Data | DataGrid | DataSet | Debugger | DotNetNuke | Events | GridView | IIS | Indigo | JavaScript | Mobile | Mono | Patterns and Practices | Performance | Podcast | Refactor | Regex | Security | Sharepoint | Silverlight | Smart Client Applications | Software | SQL | VB.NET | Visual Studio | W3 | WCF | WinFx | WPF | WSE | XAML | XLinq | XML | XSD