This question is locked. New answers and comments are not allowed.
Jesse Sanders
Top achievements
Rank 1
Jesse Sanders
asked on 19 Feb 2010, 01:17 AM
I am integrating the MVC grid into my application and I am unable to get the rollover effects to work. I have copied the javascript code from the demo project to my project, however the jquery objects for rollover are undefined. I'm guessing that I'm missing something simple.
/* add hover effects */
.live("mouseenter", $.telerik.hover)
.live("mouseleave", $.telerik.leave);
When I put a breakpoint on these lines and inspect '$.telerik', it is undefined.
Any ideas on how to correct this?
Thanks,
Jesse
/* add hover effects */
.live("mouseenter", $.telerik.hover)
.live("mouseleave", $.telerik.leave);
When I put a breakpoint on these lines and inspect '$.telerik', it is undefined.
Any ideas on how to correct this?
Thanks,
Jesse
6 Answers, 1 is accepted
0
Doug
Top achievements
Rank 1
answered on 19 Feb 2010, 03:21 AM
telerik.hover etc live in telerik.common.js or telerik.common.min.js
are you referencing the javascript files by hand or using the scriptregistars?
are you referencing the javascript files by hand or using the scriptregistars?
0
Hi,
I think you are missing a ScriptRegistrar or some JavaScript file failed to load. All client-side features require a ScriptRegistrar to be present in the page (preferably in the master page).
Please check this help topic for troubleshooting instructions.
Regards,
Atanas Korchev
the Telerik team
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items.
I think you are missing a ScriptRegistrar or some JavaScript file failed to load. All client-side features require a ScriptRegistrar to be present in the page (preferably in the master page).
Please check this help topic for troubleshooting instructions.
Regards,
Atanas Korchev
the Telerik team
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items.
0
Jesse Sanders
Top achievements
Rank 1
answered on 19 Feb 2010, 04:37 PM
I have double checked my master page and in the last line of the master page is this:
<%Html.Telerik().ScriptRegistrar().jQuery(false).Render(); %>
I have also checked using Fiddler and the telerik.common.js is being requested and returns a 304 status as its already in cache.
So, with that said, I'm not sure why its still not working correctly.
Thanks,
Jesse
<%Html.Telerik().ScriptRegistrar().jQuery(false).Render(); %>
I have also checked using Fiddler and the telerik.common.js is being requested and returns a 304 status as its already in cache.
So, with that said, I'm not sure why its still not working correctly.
Thanks,
Jesse
0
Hi Jesse Sanders,
I see that you have disabled the automatic inclusion of jQuery. Are you including the jquery JavaScript at all? Also which version are you using? 2009.3.1320 requires jquery 1.4 and will not work with older versions.
Regards,
Atanas Korchev
the Telerik team
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items.
I see that you have disabled the automatic inclusion of jQuery. Are you including the jquery JavaScript at all? Also which version are you using? 2009.3.1320 requires jquery 1.4 and will not work with older versions.
Regards,
Atanas Korchev
the Telerik team
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items.
0
Jesse Sanders
Top achievements
Rank 1
answered on 22 Feb 2010, 09:05 PM
I had to disable the automatic inclusion of jQuery due to version conflicts. When I check the documentation in the help file, it refers to JQuery 1.3.2. I attempted to change it to 1.4.2 and it caused a multitude of other problems. When I switch it back to 1.3.2, everything works except for $.telerik is still undefined.
What version of JQuery is 2009.3.1320 built upon? If it is truly 1.4.x, then the help documentation needs to be updated. At this point, I am still stumped.
Thanks,
Jesse
What version of JQuery is 2009.3.1320 built upon? If it is truly 1.4.x, then the help documentation needs to be updated. At this point, I am still stumped.
Thanks,
Jesse
0
Hello Jesse Sanders,
The 2009.3.1320 build is using jquery-1.4.js. It will probably work with jquery-1.4.1.js but is not still tested against the latest jquery-1.4.2.js. I confirm that it will not work with jquery-1.3.2 and the documentation needs to be updated.
Regards,
Atanas Korchev
the Telerik team
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items.
The 2009.3.1320 build is using jquery-1.4.js. It will probably work with jquery-1.4.1.js but is not still tested against the latest jquery-1.4.2.js. I confirm that it will not work with jquery-1.3.2 and the documentation needs to be updated.
Regards,
Atanas Korchev
the Telerik team
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items.