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

[Solved] Creating image/assets gallery with RADGrid

0 Answers 22 Views
Grid
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Mark
Top achievements
Rank 1
Mark asked on 29 Nov 2011, 06:06 PM
Is it possible to display each record per cell?
We have a request to create image/files/assets style gallery and need to display to the user the thumbnails
for each image/file in a grid (i.e. 5 columns x 4 rows) with paging support.
The files are stored in "VPath" sub-directories on the file system.

here is a sample data:

json: { "Images":
 [{ "ID": 32, "SacategoryId": 1, "SaSubcategoryId": 35, "Name": "test", "Title": "test", "Thumbnail": "dogs_th.jpg", "Tags": "test", "VPath": "/Content/files/" },
{ "ID": 33, "SacategoryId": 1, "SaSubcategoryId": 35, "Name": "test2", "Title": "test", "Thumbnail": null, "Tags": null, "VPath": "/Content/files/" },
{ "ID": 34, "SacategoryId": 1, "SaSubcategoryId": 35, "Name": null, "Title": "test", "Thumbnail": "dogs_th.jpg", "Tags": "test", "VPath": "/Content/files/" },
{ "ID": 32, "SacategoryId": 1, "SaSubcategoryId": 35, "Name": "test", "Title": "test", "Thumbnail": "dogs_th.jpg", "Tags": "test", "VPath": "/Content/files/" },
{ "ID": 33, "SacategoryId": 1, "SaSubcategoryId": 35, "Name": "test2", "Title": "test", "Thumbnail": null, "Tags": null, "VPath": "/Content/files/" },] }

Regards,

Mark R
Tags
Grid
Asked by
Mark
Top achievements
Rank 1
Share this question
or