works in design mode - not in preview mode

Posted by Community Admin on 03-Aug-2018 20:44

works in design mode - not in preview mode

All Replies

Posted by Community Admin on 17-Feb-2011 00:00

I created a master page that I put a usercontrol on it that is using a jquery rotator plugin. Now, when I look at the page in preview mode the rotator works fine, I see the new image slide across the screeen - no issues,
then when i preview it or even run in on the "live" site, it kicks out an javascript error referring to my jquery error


So I'm totally confused on why its working in design mode but not on the live site or in preview mode

Posted by Community Admin on 17-Feb-2011 00:00

Hi DotNetGuy,

Please share a sample that you use, so we can replicate the issue.

Regards,
Ivan Dimitrov
the Telerik team

Posted by Community Admin on 18-Feb-2011 00:00

after a few hours I was able to get it working but only if the URL looked liked this:

http://localhost/mySite/home/

that brings up my home page which has the jquery slide show on it. If the url looks like this

http://localhost/mySite/home

it does not work

Posted by Community Admin on 21-Feb-2011 00:00

Hello DotNetGuy,

Try using our JQuery. You can add it by using ResourceLinks control.

<sitefinity:ResourceLinksID="resourcesLinks"runat="server">
    <sitefinity:ResourceFileJavaScriptLibrary="JQuery"></sitefinity:ResourceFile>
</sitefinity:ResourceLinks>

It is possible that there is a jquery version conflict.

All the best,
Ivan Dimitrov
the Telerik team

This thread is closed