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

Forums / Developing with Sitefinity / External template not applied for GalleryLightboxList.ascx

External template not applied for GalleryLightboxList.ascx

5 posts, 1 answered
  1. David van Geel
    David van Geel avatar
    59 posts
    Registered:
    19 Aug 2009
    17 Mar 2010
    Link to this post
    Hi All,

    I am trying to get a website to use the external template for the GalleryLightboxList.ascx user control. I specified the following lines in the App_Data\Configuration\Telerik.Sitefinity.Configuration.ControlsConfig.xml file and forced a "restart" of the application by changing something in the web.config. Regretfully the external template is still not applied. Is there something else I can try?

    Regards,


    David

    <

     

    viewSettings hostType="Telerik.Libraries.WebControls.ImageGallery">

     

        <

     

    additionalTemplates>

     

            <

     

    add key="LightBoxListTemplatePath" layoutTemplatePath="~/Sitefinity/ControlTemplates/Libraries/GalleryLightboxList.ascx" />

     

        </

     

    additionalTemplates>

     

    </

     

    viewSettings>

     

  2. Ivan Dimitrov
    Ivan Dimitrov avatar
    16072 posts
    Registered:
    25 Nov 2016
    17 Mar 2010
    Link to this post
    Hello David van Geel,

    Try to map the template directly from the ControlDesigner - Advanced tab >> ItemListTemplatePath property.

    Kind 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.
    Answered
  3. David van Geel
    David van Geel avatar
    59 posts
    Registered:
    19 Aug 2009
    17 Mar 2010
    Link to this post
    Hi Ivan,

    I decided to create a custom user control for this so I could also override the design control. This will simplify adding it to page for the end user.

    Regards,


    David
  4. Charles
    Charles avatar
    36 posts
    Registered:
    18 Apr 2011
    14 Oct 2011
    Link to this post
    Hi,

    I am looking for GalleryLightboxList.ascx but it doesn't appear the steps above are the same anymore. 

    What I want to do, is to have a simple text (like a hyper link) be displayed, and when clicked, display an image like a lightbox? just an overlay image? Can anyone guide me the best method to do this with 3.7 now? And maybe where to download this said control?
  5. David van Geel
    David van Geel avatar
    59 posts
    Registered:
    19 Aug 2009
    14 Oct 2011
    Link to this post
    Hi Charles,

    What I tried to do was create my own ascx (that's the GalleryLightboxList.ascx I was talking about) and get the standard ImageGallery control to use that for the "List & Lightbox" display mode. I didn't get that approach to work in the user friendly way I wanted.

    Now, none of the standard SF user controls do exactly what you want. I think there is a free user control in the marketplace that could fill your needs. To a look at the following url to see if I am correct in my assumptions.

    Regards,
    David
Register for webinar
5 posts, 1 answered