Forums

Skip Navigation LinksHome / Developer Network / Forums / Sitefinity Older Versions (3.x): Suggestions > Photogallery

Photogallery

  • Pankaj avatar

    Posted on Nov 18, 2010 (permalink)

    Hi,

    We have a requirement where we need to display a page displayed all product images.
    Below each image we need to show the product name and some bulleted text.
    Can you suggest, what is the best way to display this.
    Attached files

    Reply

  • Ivan Dimitrov Ivan Dimitrov admin's avatar

    Posted on Nov 18, 2010 (permalink)

    Hello Pankaj,

    You should create a custom control which uses ASP.NET repeater. In the Repeater's ItemTemplate you should have 3 controls
    - one that shows the image
    -one that shows the content item title
    -one that shows the text

    Each product should be a content item, actually you can use news module and its Thumbnail metakey for the image.

    You have to bind the Repater control to the list of content items by using the API. and populate the above 3 controls with data.

    All the best,
    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

    Reply

  • Pankaj avatar

    Posted on Nov 22, 2010 (permalink)

    Thanks.

    Can you help me to find the API/code to get all contents within specific category under News module.

    Thanks
    Pankaj

    Reply

  • Ivan Dimitrov Ivan Dimitrov admin's avatar

    Posted on Nov 22, 2010 (permalink)

    Hi Pankaj,

    You can take a look at this overload of GetContent method.

    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

    Reply

  • samuel avatar

    Posted on Jan 28, 2011 (permalink)

    Thanks
    It also helped me to fix my error.

    Reply

  • Register for webinar
Skip Navigation LinksHome / Developer Network / Forums / Sitefinity Older Versions (3.x): Suggestions > Photogallery