+1-888-365-2779
Try Now
More in this section

Forums / Bugs & Issues / Issues with GetContent method

Issues with GetContent method

3 posts, 0 answered
  1. Saumitra
    Saumitra avatar
    127 posts
    Registered:
    10 Mar 2009
    11 Jan 2011
    Link to this post
    Hi,

    I'm using the LibraryManager class to get the images from an Image library. For that we've used the GetContent method of the LibraryManager class. The issue here is that the GetContent method gets the complete binary content for the images, whereas our requirement is just to display the thumbnail and the URL to the actual image. Using GetContent is affecting the page load times as the No. of thumbnails required to be displayed is large (approximately 80-100).

    I tried to find out from the API reference if there is any alternative method to get just the URLs and Thumbnails, but couldn't find any. Can you please suggest how do we go ahead with this?

    Thanks,
    Saumitra
  2. Saumitra
    Saumitra avatar
    127 posts
    Registered:
    10 Mar 2009
    11 Jan 2011
    Link to this post
    Hi,

    This is a little urgent. Any quick help would be appreciated.

    Thanks,
    Saumitra
  3. Ivan Dimitrov
    Ivan Dimitrov avatar
    16072 posts
    Registered:
    25 Nov 2016
    11 Jan 2011
    Link to this post
    Hello Saumitra,

    You can use GetContent and its 21 overloads. The ThumbnailUrl are specific to the IContent object which you return as a List. You can add filter expression to the GetContent method as a parameter or use some control with paging.

    Regards,
    Ivan Dimitrov
    the Telerik team
    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 Public Issue Tracking system and vote to affect the priority of the items
Register for webinar
3 posts, 0 answered