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

[Solved] Partials with grids in tab - is this a bug?

0 Answers 65 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.
Rene
Top achievements
Rank 1
Rene asked on 11 Apr 2011, 09:10 PM
I've been trying to figure out why I'm having problems where I have a tab where each tab has a grid in it.
When loading the partial - I make sure the proper js files are loaded from the partial (manually registered).

In the telerik.tabstrip.min.js - everytime a tab is selected - the main function ( function(a) { is fired ....

And I suspect this is causing a problem .... (with var b = a.telerik )?

It is notificable in the _click: function :

when it reaches the :

if( b.trigger( this.element, "select", {
   item: h[0],
   contentElement: g[0] }))

on the 2nd tab clicked - that's when things break.

It's almost as if var b = a.telerik reinitializes the complete tabstrip to a new object - and all hell breaks loose on the b.trigger...

This is in the 2011.1.315 build.

Rene.
Tags
TabStrip
Asked by
Rene
Top achievements
Rank 1
Share this question
or