8
Shouts

Create a faster Repeater - .NET Development - Gal Ratner

published 818 days, 8 hours, 18 minutes ago posted by galratnergalratner 818 days, 20 hours, 54 minutes ago
Tuesday, February 23, 2010 7:37:51 PM GMT Tuesday, February 23, 2010 7:01:45 AM GMT

A Repeater, as we all know is the fastest of the data bound controls. It does not include any UI elements or even paging. This allows it to be light and fast. What happens if even the Repeater is too heavy for our app? It’s simple, let’s write our own repeater. The first step in our Repeater is its items class. We are going to hold our own data object; however, we still need to implement IDataItemContainer. This will help in data binding operations. Let’s say our data object looks something like this:...

category: ASP.NET | clicked: 2 | | source: galratner.com | show counter code
tags: Repeater, Custom Controls