Portal Engine Questions on portal engine and web parts.
Version 6.x > Portal Engine > JQuery issue with registration control. View modes: 
User avatar
Member
Member
lwhittemore-emh - 12/2/2011 1:34:05 PM
   
JQuery issue with registration control.
The registration control kills all jquery on my site. When I remove the control everything works but when I add it back it all stops again. How do I make the user control not add any jquery scripts.

I have tried adding
Imports CMS.GlobalHelper

   Protected Sub Page_Load(sender As Object, e As System.EventArgs) Handles Me.Load
ScriptHelper.RegisterJQuery(Page)
End Sub


to my aspx page but it doesn't seem to prevent the additional jquery scrips from being added.

User avatar
Member
Member
lwhittemore-emh - 12/2/2011 1:34:49 PM
   
RE:JQuery issue with registration control.
I am not a .net developer so I don't really understand what I am doing.

Thanks

User avatar
Member
Member
lwhittemore-emh - 12/2/2011 1:56:18 PM
   
RE:JQuery issue with registration control.
I had a look at the password strength module and it appears to already have the ScriptHelper.RegisterJQuery(this.Page);

so I am not sure what I need to do inorder for it to not load the jquery.

It also may be more than just that doubled jquery as nothing seems to work when I disable my original call to jquery.

User avatar
Member
Member
lwhittemore-emh - 12/2/2011 2:26:23 PM
   
RE:JQuery issue with registration control.
I figured out my problem.

I switched to using the kentico no conflict version of jquery and changed my $ signs to the word jquery

User avatar
Member
Member
kelements - 3/7/2012 11:08:38 PM
   
RE:JQuery issue with registration control.
Hi lwhittemore-emh, where is the "no conflict version of jquery" setting in Kentico? I am experiencing the exact same problem.

Thanks!!

User avatar
Member
Member
lwhittemore-emh - 3/8/2012 7:39:06 AM
   
RE:JQuery issue with registration control.
Just call this jquery instead in your head
<script type="text/javascript" src="/CMSScripts/jquery/jquery-core.js"></script>