This question is locked. New answers and comments are not allowed.
Terry Burns-Dyson
Top achievements
Rank 1
Terry Burns-Dyson
asked on 07 Oct 2010, 04:05 AM
I'm trying to load an AutoComplete in a window, but when I load the page I'm receiving an error;
uncaught TypeError: Object #<an Object> has no method 'tAutoComplete'
I'm using Chrome 6 and the latest version of the MVC components.
On the page I'm viewing, I call RenderAction to load up the window component. I then have a tabstrip in which I RenderPartial the actual components I'm using to perform my lookup.
The tabstrip is throwing a similar error,
uncaught TypeError: Object #<an Object> has no method 'tTabStrip'
But that I'm not so concerned about right now.
uncaught TypeError: Object #<an Object> has no method 'tAutoComplete'
I'm using Chrome 6 and the latest version of the MVC components.
On the page I'm viewing, I call RenderAction to load up the window component. I then have a tabstrip in which I RenderPartial the actual components I'm using to perform my lookup.
The tabstrip is throwing a similar error,
uncaught TypeError: Object #<an Object> has no method 'tTabStrip'
But that I'm not so concerned about right now.
5 Answers, 1 is accepted
0
Accepted
Hi Terry Burns-Dyson,
Atanas Korchev
the Telerik team
Looks like a case where the required JavaScript files are not loaded. I suggest you check this help article.
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
Terry Burns-Dyson
Top achievements
Rank 1
answered on 07 Oct 2010, 12:10 PM
I did read that last night, and I thought to have tried putting them in the right place but obviously not. Thank-you.
I had a main page calling RenderAction on a window. That window then loaded content from another view which was the tablayout, rendering the partial view.
It was the window view into which I had to place the Javascript as that was the one making the ajax call for the page content.
I had a main page calling RenderAction on a window. That window then loaded content from another view which was the tablayout, rendering the partial view.
It was the window view into which I had to place the Javascript as that was the one making the ajax call for the page content.
0
Terry Burns-Dyson
Top achievements
Rank 1
answered on 07 Oct 2010, 12:40 PM
I'm pretty certain this is jquery, but I've definitely got the jquery-1.4.2.min.js included.
When I type something, the event fires for my autocomplete, I can see it return results but it's now failing with "object does not support 'slice'".
I thought at first that it might be the fact I was returning integers to the field, so I swapped it out for a string field and I'm still getting the same problem.
When I type something, the event fires for my autocomplete, I can see it return results but it's now failing with "object does not support 'slice'".
I thought at first that it might be the fact I was returning integers to the field, so I swapped it out for a string field and I'm still getting the same problem.
0
Hello Terry Burns-Dyson,
Atanas Korchev
the Telerik team
This looks like a different problem. Could you provide a sample project showing this JavaScript error? Just attach it to this forum thread.
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
Terry Burns-Dyson
Top achievements
Rank 1
answered on 07 Oct 2010, 03:31 PM
I created the sample project and couldn't recreate. I didn't start my project with the Telerik controls, but switched from another control set because I prefer these controls. I went through and compared everything I was doing,unloaded the projects, compared the project files, compared everything. I restarted the project and it started working.
Thank-you for the help.
Thank-you for the help.