More in this section
Forums / General Discussions / Using Javascript with template Sitefinity

Using Javascript with template Sitefinity

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.
1 posts, 0 answered
  1. Medy
    Medy avatar
    15 posts
    Registered:
    05 Oct 2015
    16 Oct 2015
    Link to this post

    Hello,

     I have some Javascript problem when I use Sitefinity : I am trying to migrate asp.net web application to Sitefinity application.

     So, I have created my own master page in sitefinity solution with a menu developed in Javascript (the same code which works in my asp.net application). After I create a page template in sitefinity based on this master page.  But when I preview my template, my menu javacript doesn't work !  :( :(

    First I use this tag :

    <script src="js/modernizr.js"><

     Then

     <script src='<%= ResolveClientUrl("~/js/modernizr.js") %>'

     And finally

            <sf:ResourceLinks ID="resourcesLinks" runat="server">

                                   <sf:ResourceFile Name="js/modernizr.js" />
          </sf:ResourceLinks>

     But doesn't work.

    Any idea ? Please help. Thanks.

     

1 posts, 0 answered