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

Loading Tabstrip onto a Telerik Window using Ajax throws Object doesn't support the property error.

1 Answer 25 Views
TabStrip
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Ron
Top achievements
Rank 1
Ron asked on 27 Jun 2011, 08:41 PM
Hi there,

I've a Telerik MVC grid, which contains a button. On click of the button a View, which contains an Telerik MVC Tabstrip control, is loaded

$.post(url, { alertSubscriptionKey: parseInt(alertSub) }, function (data) {
    var window = $('#Window').data('tWindow');
    window.content(data);
    window.open();
});


onto an Telerik Window using the above code.

On load, an 'Object doesn't support the property' error is thrown. I believe this issue is similar to the issue with Grid template discussed here. I've manually loaded the 'telerik.tabstrip.min.js' file using the ScriptRegistrar. I believe am missing some additional script references.

Any pointers or suggestions would be greatly appreciated.

EDIT:
I've validated that the following js files are loaded at the time of the error:
  1. jquery-1.5.1.min.js
  2. telerik.common.min.js
  3. telerik.tabstrip.min.js

Regards,

1 Answer, 1 is accepted

Sort by
0
Atanas Korchev
Telerik team
answered on 28 Jun 2011, 07:24 AM
Hi Ron,

 Are the window javascript files loaded? Or is there a window component defined in your view?
You can check the Required JavaScript files help topic.

Greetings,
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
Tags
TabStrip
Asked by
Ron
Top achievements
Rank 1
Answers by
Atanas Korchev
Telerik team
Share this question
or