This is a migrated thread and some comments may be shown as answers.

[Solved] Javascript Error When Page Loads With Telerik Grid

4 Answers 20 Views
Grid
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Jason
Top achievements
Rank 1
Jason asked on 31 Aug 2011, 09:42 AM
Morning All,

I've got an issue with an MVC project i'm working on that has a few telerik MVC grids in it. When the page loads with the grids in I get a javascript runtime error and if I click to debug it in visual studio it highlights where the error is coming from. I've included a screenshot with this.

The error text in IE on page load is:
 
'g[...]' is null or not an object

Any help with this would be great.

Thanks,
J

4 Answers, 1 is accepted

Sort by
0
Atanas Korchev
Telerik team
answered on 31 Aug 2011, 09:48 AM
Hello Jason,

 This JavaScript error can occur if some JavaScript file is not properly loaded for some reason. You can check the Required JavaScript files help topic for a complete list of the JavaScript files required by the components. 

 Should you require further assistance please show us how your view page looks like.

Regards,
Atanas Korchev
the Telerik team

Thank you for being the most amazing .NET community! Your unfailing support is what helps us charge forward! We'd appreciate your vote for Telerik in this year's DevProConnections Awards. We are competing in mind-blowing 20 categories and every vote counts! VOTE for Telerik NOW >>

0
Jason
Top achievements
Rank 1
answered on 31 Aug 2011, 10:09 AM
The only thing I can see is that we are using jquery 1.4.4 instead of the included 1.5.1

Could this be the reason?
0
Jason
Top achievements
Rank 1
answered on 31 Aug 2011, 10:13 AM
Even with the 1.5.1 included jquery file used instead the same error occurs.
0
Atanas Korchev
Telerik team
answered on 31 Aug 2011, 11:23 AM
Hi Jason,

Is there a chance to show us how you views are configured? We really can't guess what the problem might be.

All the best,
Atanas Korchev
the Telerik team

Thank you for being the most amazing .NET community! Your unfailing support is what helps us charge forward! We'd appreciate your vote for Telerik in this year's DevProConnections Awards. We are competing in mind-blowing 20 categories and every vote counts! VOTE for Telerik NOW >>

Tags
Grid
Asked by
Jason
Top achievements
Rank 1
Answers by
Atanas Korchev
Telerik team
Jason
Top achievements
Rank 1
Share this question
or