Jump to content
Xtreme .Net Talk

Recommended Posts

Posted

I'm using a DataList to display images in 3 columns using the RepeatColumns property. The HTML code that links to the images is stored in an Array and bound to my datalist. This works great, except that if you have a bunch of images, it has to process and download every image. I would like to add paging to this so I started looking into the DataGrid. I was able to implement the DG with paging, but it only showed 1 image per row instead of the 3 like the DL.

 

How can I implement paging with a DL or RepeatColumns with a DG? Thanks for any help that you can provide!

 

Kevin

Posted
You can build your own paging control using Stored Procedures and such instead of using the datagrid's built in paging. Then you can take advantage of the datalist's repeat direction.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...