Cool AJAX UI Templating Trick with ASP.NET
Here's a cool way to update non-update panel scenarios with AJAX in ASP.NET
Since Atlas (Microsoft's AJAX implementation) has been released as beta, Scott Guthrie has posted an excellent technique on his blog about how to call the server using AJAX, return a web user control for the UI to render, and update a non-updatable panel.
His method uses a simple web service and he describes that this technique reduces code to about ~20 lines of code. He is basically moving the Web User Controls out of the UI and into the server. The web control's string is passed back to the client.
Ajaxian.com has some updated news about the beta release of Atlas.
Jonathan Danylko is a freelance web architect and avid programmer who has been programming for over 20 years. He has developed various systems in numerous industries including e-commerce, biotechnology, real estate, health, insurance, and utility companies.
When asked what he likes doing in his spare time, he answers..."programming."
Like this article?Subscribe for FREE to receive the latest posts before they become public.
- How AJAX is like pepper
- TurboGrid will now be part of Dojo!
- AJAX Security Techniques
- Who's your AJAX Daddy?
- 10 business reasons to use AJAX
No comments are posted.