tags:

views:

30

answers:

2

Hi,

Trying to build an online catalog for a web shop. Is the GridView control configurable enough for this, i.e. each item, for example product picture, title, price, qty field, 'add' button, and then move right to the next one, basically a typical online shop layout, or is another control better suited to this layout type?

I have previously always worked in classic asp and pretty much coded everything manually.

Thanks, R.

A: 

The GridView will work but I would strongly suggest the use of a Repeater control as it is considerably more efficient!

If you are used to doing everything manually you will love the Repeater! Also...is there a chance for you to move to ASP.NET MVC in this application? You will love this framework over webforms if you are coming from asp classic.

Andrew Siemer
Thanks Andrew, after some research I almost decided to go with the repeater but have since opted for the listview... I really want to see what .net can do for me...Thanks.
flavour404
Just know that most of these "repeating" type of controls are based off of the repeater. So if performance is what you are looking for rather than ease of use by way of templating...
Andrew Siemer
A: 

If you're using ASP.NET 3.5, check out the new ListView control. This will give you more advanced templates than a simple Repeater but you still retain precise control over the rendered HTML.

dahlbyk
Thanks dah, your right, I'm going to go with the listView.
flavour404