First Article – The Basics of Building Server Controls
Second Article – Reusing and Creating Server Controls
Third Article - Building Composite Server Controls (previous article)
Download the source that is demonstrated in this article.
At a stage in your development of server controls, you will need to understand how templates work under server controls. Templates are not only restricted for use for server controls but can be used for any control that will appear on the page.
Templates are generally used in data-bounded controls. However, it would be necessary for an introduction first. This article will demonstrate:
- A simple output from a server control with a template.
- Create a template which will modify the output of any data-bounded control.
This article will also assume that you are familiar with the template controls like the Repeater and the DataList controls.