Cool AJAX UI Templating Trick with ASP.NET

Here's a cool way to update non-update panel scenarios with AJAX in ASP.NET

Last Updated: October 23rd, 2006 • Develop •

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. has some updated news about the beta release of Atlas.

Did you like this content? Show your support by buying me a coffee.

Buy me a coffee  Buy me a coffee
Picture of Jonathan Danylko

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 to do in his spare time, he replies, "Programming."

comments powered by Disqus