This is a migrated thread and some comments may be shown as answers.

[Solved] RadGrid looking like RadListView

1 Answer 155 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Jeremy Yoder
Top achievements
Rank 1
Jeremy Yoder asked on 07 Feb 2013, 09:22 PM

We've been using RadGrid on our site and love it. Now we need to show more than 1 row of data per record. I could not find a way for RadGrid to do this, so I've been looking at RadListView. Then I came across this link...

http://demos.telerik.com/aspnet-ajax/grid/examples/programming/listview/defaultcs.aspx

Now knowing I can use RadGrid is great since I'm familiar with it. But before coding, I want to know when I'd use RadListView over RadGrid, in case I'm missing something. For instance, I would need the RadGrid in the link to do the following, which I've done in our "single row" RadGrids...

1) Change checkboxes and comboboxes right on form on each record. (via GridTemplateColumn and ItemTemplate)

2) Have an "Edit" command show a popup for other record data. (via FormTemplate and EditMode="PopUp")

3) Select records that let me access the record's data clientslide (via get_masterTableView())

BTW, we still need each RadGrid record to go all the way across the control--so records wouldn't be side-by-side like in the example, as we simply need 2-3 lines of data to display within each record. In that case, would the link below be a better example of what we need? Can it do the 3 points above? Or functionally, is it basically the same as the first link?

http://demos.telerik.com/aspnet-ajax/grid/examples/generalfeatures/cardview/defaultcs.aspx

Thanks for any direction you can give as this will greatly determine the path we take.

1 Answer, 1 is accepted

Sort by
0
Kostadin
Telerik team
answered on 12 Feb 2013, 05:53 PM
Hello Jeremy,

This demos are almost identical and represents how to use the global item template feature of RadGrid to create ListView/DataList like data presentation. If you want to achieve the same vision I would suggest you to use ListVIew. You could find a lot of examples in our live demos and you will be able to achieve your goals.

All the best,
Kostadin
the Telerik team
If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to their blog feed now.
Tags
Grid
Asked by
Jeremy Yoder
Top achievements
Rank 1
Answers by
Kostadin
Telerik team
Share this question
or