More in this section

Forums / Developing with Sitefinity / how the imagegallery on an user control can use lightbox template

how the imagegallery on an user control can use lightbox template

2 posts, 0 answered
  1. cybertiger
    cybertiger avatar
    12 posts
    28 Sep 2006
    06 Jan 2010
    Link to this post
    I using a imagegallery control on my own user control, everything is working fine, the only thing is how i can use lightbox template on it. Thanks

  2. Ivan Dimitrov
    Ivan Dimitrov avatar
    16072 posts
    12 Sep 2017
    06 Jan 2010
    Link to this post
    Hi cybertiger,

    The control has Presentation modes:

    List & page
    List & Lightbox
    One per page
    Simple list
    Image & List

    From step "2" in the control designer ( when you open the control in edit mode ) you have to choose List & Lightbox mode. If you want to make any custom changes to the control template you have to download the external templates  zip archive, and map the desired  template located for the public views under\Sitefinity\Admin\ControlTemplates\Libraries\Modes folder. Note that this template has to be mapped through AvancedTab >>TemplatePaths category ItemListTemplatePath property of the ImageGallery control.
    Useful link - Working with presentation modes and Content View Designers

    Kind regards,
    Ivan Dimitrov
    the Telerik team

    Instantly find answers to your questions on the new Telerik Support Portal.
    Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
2 posts, 0 answered