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

Forums / General Discussions / light box image gallery problem(Stack over flow)

light box image gallery problem(Stack over flow)

2 posts, 0 answered
  1. siby
    siby avatar
    48 posts
    Registered:
    21 Feb 2009
    26 May 2011
    Link to this post
    Hi,

    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
    Registered:
    09 Dec 2016
    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.

    Greetings,
    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