Introduction
This article explains how to use the features of Ajax.NET to create WebControls programmatically and display them in a container without reloading the current page. The example used for demonstration is very simple, but it is a generic concept which can be used with any other WebControl.
The concept
The idea is to load dynamic content into a part of a webpage. With ASP.NET this can be done loading and assigning WebControls to a container - like a PlaceHolder-control. The problem with this approach is that the assignment occurs on the server-side and the page has to be fully reloaded to display the changed content. This is not very nice for the user's eye and costs performance, because superfluous information is transported over the network. This is where we can use Ajax to reload only this part of the page that needs to be updated.