By tag: repeater
0
kicks
Hacking the ASP.NET Parser
A while ago I blogged about using external templates in an asp.net application. The problem with that was it wasn’t natively supported, so I had to create a derived SpecialRepeater in order to take advantage of the external template system. In this latest parser hack I’ve managed to “trick” the asp....
0
kicks
Code Based Repeater for ASP.NET MVC
A foreach loop doesn’t help you handle alternating items, for example. My response to this story is, “The foreach loop is not our repeater control. Our repeater control is an iterating extension method with lambdas!”. Because who doesn’t love lambdas?
0
kicks
Creating a scrollable and grouped Repeater Layout
A couple of people asked me today about a layout I put together for an application. The layout is bascially a scrollable and grouped repeater that looks a little like a ListView control in WinForms. This sort of layout can be great for longer lists when paging is not really the right choice - a comm...
0
kicks
ASP.NET Repeater control instead of grid
Simple example on how to tie event handlers to a specific row in a repeater
0
kicks
The Easy Way To Alternate Background Colours on a Repeater
If you want to alternate background colours on a Repeater control without having to create an AlternatingItemTemplate, try out this little shortcut.
0
kicks
Add paging to a repeater
An example of how we can add paging to a repeater control by using a PagedDataSource.
0
kicks
Restricting the number of rows in a dataview when binding to a repeate
Using IEnumerable to limit the number of rows in a DataView when binding to a repeater.