Vans Shoes DanylkoWeb

Always Learning. ASP.NET MVC. Code Exorcist. Mobile Gadgeteer. Web Architect.

Cool AJAX UI Templating Trick with ASP.NET

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

October 23rd, 2006 • Develop •
0 (0 votes)

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.

Was this informative? Share it!

Looking to become a better developer?

Sign up to receive ReSharper Design Pattern Smart Templates, ASP.NET MVC Guidelines Checklist, and Newsletter Updates!

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