Displaying posts categorized under

GridView

Insert user control every N records in gridview

This will show you a technique to modify the layout of a gridview. Basically what we will do is insert an extra row to our gridview every 5 records – and in that row we will dynamically load a usercontrol.

As you can see our usercontrol is really simple – just an image and a text:

I [...]