This question is locked. New answers and comments are not allowed.
I have a tabstrip on a page which is used to navigate between a few different grids. The grids exist on separate user controls and are loaded using the LoadContentFrom method. The grids are set to use the PopUp editor. When I try to launch the editor or insert a new record I get a javascript error. For editing I get "Microsoft JScript runtime error: 'length' is null or not an object" which seems to be coming from the jQuery-1.4.2 file being called from the draganddrop.applycontext method. For inserting the error comes in the telerik.editing.js code in the popup function. The line var wnd = result.data('tWindow'); does not get an object so the subsequent line throws an "'undefined' is null or not an object" error.
Here is what my ScriptRegistrar looks like on my master page:
I think I'm including all the scripts that I should need for the editor to work, but maybe someone will notice something that I'm missing. I tested the scenario with the content embedded on the tab in the main page using the .Content method instead of being loaded from user controls and that works without errors. I also did testing with the grid in InLine and InForm edit modes with the content loaded from user controls and those worked just fine.
Thanks for your help with this.
Regards,
Brian
Here is what my ScriptRegistrar looks like on my master page:
<% Html.Telerik().ScriptRegistrar() .DefaultGroup(group => group .Add("jquery.validate.js") .Add("telerik.common.js") .Add("telerik.grid.js") .Add("telerik.grid.filtering.js") .Add("telerik.grid.editing.js") .Add("telerik.grid.grouping.js") .Add("telerik.grid.resizing.js") .Add("telerik.calendar.js") .Add("telerik.datepicker.js") .Add("telerik.window.js") .Add("telerik.draganddrop.js") .Add("telerik.textbox.js") .Combined(true) .CacheDurationInDays(365) .Compress(true) ).Render(); %>I think I'm including all the scripts that I should need for the editor to work, but maybe someone will notice something that I'm missing. I tested the scenario with the content embedded on the tab in the main page using the .Content method instead of being loaded from user controls and that works without errors. I also did testing with the grid in InLine and InForm edit modes with the content loaded from user controls and those worked just fine.
Thanks for your help with this.
Regards,
Brian