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

Paging does´nt work

2 Answers 31 Views
ImageGallery
This is a migrated thread and some comments may be shown as answers.
Jimmy
Top achievements
Rank 1
Jimmy asked on 10 Jun 2015, 12:59 PM

I got this problem on a project I was unfortunate enough to inherit. I databind the imagegallery and set the page size to 10 (I got 16 images).Page 1 : 10 imagesPage 2: All the imagesThe images gallery is implemented on multiple pages and as such need different width, height and page size. This is set via properties and they all have a default value./**/Thumbnail_RadImageGallery.ThumbnailsAreaSettings.Width = Width; (works fine)
 Thumbnail_RadImageGallery.ThumbnailsAreaSettings.Height = Height;(works fine)
 Thumbnail_RadImageGallery.PageSize = PageSize;/**/​Datasouce is Linq-sql into dataview./**/DataTable table = new DataTable(); table.Columns.Add("Title", typeof(string));
 table.Columns.Add("Description", typeof(string));
 table.Columns.Add("ImageData", typeof(string));
 table.Columns.Add("ToolTip", typeof(string));/**/​

Any suggestions?

If this problem cannot be solved quickly, we plan to skip using this imagegallery and use either Ajax or different.

2 Answers, 1 is accepted

Sort by
0
Jimmy
Top achievements
Rank 1
answered on 11 Jun 2015, 08:55 AM

Update:

If I go to any page in the list all the images will be on that page. 

 

0
Konstantin Dikov
Telerik team
answered on 15 Jun 2015, 08:03 AM
Hello Jimmy,

I am not sure that I understand what is the exact problem that you are facing. Can you please provide some additional information about the problem that you are experiencing, because in the posted code snippet there are two lines with "works fine" and no line that indicates that it does not work.

I am looking forward to your reply with the details.


Regards,
Konstantin Dikov
Telerik
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Feedback Portal and vote to affect the priority of the items
Tags
ImageGallery
Asked by
Jimmy
Top achievements
Rank 1
Answers by
Jimmy
Top achievements
Rank 1
Konstantin Dikov
Telerik team
Share this question
or