More in this section
Forums / General Discussions / light box image gallery problem(Stack over flow)

light box image gallery problem(Stack over flow)

The forums are in read-only mode. In case that you want to directly contact the Progress Sitefinity team use the support center. In our Google Plus group you can find more than one thousand Sitefinity developers discussing different topics. For the Stack Overflow threads don’t forget to use the “Sitefinity” tag.
2 posts, 0 answered
  1. siby
    siby avatar
    48 posts
    21 Feb 2009
    26 May 2011
    Link to this post

    we are facing stack over flow error on a page having multiple image gallaries (of light box type) .

    Is it possible to have
    \Sitefinity\Admin\ControlTemplates\Libraries\ModesGalleryLightboxList.ascx  Tempalate's

    CODE BEHIND (\Sitefinity\Admin\ControlTemplates\Libraries\ModesGalleryLightboxList.ascx.cs).

    This way we are planning to edit the javascript reference from the file and move the related reference to master page
    with out recreating the image galleries(already image  galleries are been polled to some 30 pages) and avoid the entire recreation process.

    Please suggest if any alternative way of handling the "Stack over flow" error from the javascript.
  2. Ivan Dimitrov
    Ivan Dimitrov avatar
    16072 posts
    12 Sep 2017
    31 May 2011
    Link to this post
    Hello siby,

    Reference to the scripts is made through the control template - ascx file, so we do not load them through the code behind. You can check the template to see that we include the js and css for lightbox. Inside the ImageGallery control ( which uses the above mentioned template in Lightbox mode) we populate the control with data by using ContentManager. GetContent method.

    Ivan Dimitrov
    the Telerik team
    Do you want to have your say in the Sitefinity development roadmap? Do you want to know when a feature you requested is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
2 posts, 0 answered