Understanding ASP.NET Templates

If you are in the business to display web pages using ASP.NET, you may have probably used templates. All these data bound controls like DataList, TreeView, Repeater, and ListView use template to make life work easier.

This is because you define the template only once and the data binding mechanism will repeat for each and every row of the data for you.

 

This idea works with great efficiency but there is a little misunderstanding when it comes to accessing the controls inside the data rows using the ID of the template.

Read the rest of the article here: http://www.codeproject.com/Articles/775111/Understanding-ASP-NET-Templates

Leave a Reply

Your email address will not be published. Required fields are marked *