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

Forums / Developing with Sitefinity / Problem with javascript and ContentView

Problem with javascript and ContentView

3 posts, 0 answered
  1. Paul
    Paul avatar
    176 posts
    Registered:
    18 Nov 2008
    15 Jun 2012
    Link to this post
    Hello!
    I have some problem with ContentView control. In my MasterPage template I added JsFileLink to custom script in custom folder. For all pages with this template this javacript works as it should. But when I use ContentView control on pages with JsFileLink I have problems: when I open single item from ContentView list my javascript doesn't load and I get error for my javascript function for example "overlay() is not a function". I tried to add JsFileLink to SingleItem template control and for ItemList also but it didn't help.
    Can you suggest me in this situation? Why ContentView doesn't load scripts?
    Thank you.
  2. Paul
    Paul avatar
    176 posts
    Registered:
    18 Nov 2008
    19 Jun 2012
    Link to this post
    Hello!
    Can anyone help with my problem?
  3. Paul
    Paul avatar
    176 posts
    Registered:
    18 Nov 2008
    19 Jun 2012
    Link to this post
    Problem is fixed.
Register for webinar
3 posts, 0 answered