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

Error on Empty Tab Strip

7 Answers 173 Views
TabStrip
This is a migrated thread and some comments may be shown as answers.
PMoransais
Top achievements
Rank 1
PMoransais asked on 25 Feb 2013, 07:17 PM
Clicking on a tab strip without any tabs results in an error in Kendo UI code!

It also appears that dynamically appending a new tab to the tab strip does not work if
the tab strip is empty (No Tabs, only a UL tag without any LIs).

My code works when appending (or using insert before) to a tab strip with at least one tab


Thanks

PM

7 Answers, 1 is accepted

Sort by
0
Accepted
Dimo
Telerik team
answered on 26 Feb 2013, 07:46 AM
Hello Philippe,

This is a known issue, which has been recently fixed and changes will take effect in the Q1 2013 Beta release, which is due today.

All the best,
Dimo
the Telerik team
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
0
PMoransais
Top achievements
Rank 1
answered on 26 Feb 2013, 02:24 PM
Thanks Dino.

My lucky day! 

Philippe
0
PMoransais
Top achievements
Rank 1
answered on 26 Feb 2013, 07:24 PM
I reported on two errors in my initial post. I have now checked with today's beta version for Q1 2013.

1)   Clicking on a tab strip without any tabs results in an error in Kendo UI code!
This has been fixed

 2)  Dynamically appending a new tab to the tab strip fails when the tab strip is empty (no tabs, only a <UL> tag without any <LI>s).
This has not been fixed

The same code works when appending (or using insert before) to a tab strip with at least one tab but fails silently (no error message) when the tab script is empty.


Thanks

PM
0
Dimo
Telerik team
answered on 27 Feb 2013, 09:25 AM
Hello Philippe,

Right, this seems a problem with the MVC wrapper, we will fix it, thanks. In the meantime, you can use a client-side TabStrip, which supports this scenario.

Greetings,
Dimo
the Telerik team
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
0
PMoransais
Top achievements
Rank 1
answered on 27 Feb 2013, 12:19 PM
Hi Dimo

I am using the client side tabs trip, not the Mac wrapper.


thanks

pm
0
Dimo
Telerik team
answered on 27 Feb 2013, 04:09 PM
Hi Philippe,

Please compare your implementation with the following demo and let me know if you need additonal information.

http://jsfiddle.net/dimodi/6DBe2/

All the best,
Dimo
the Telerik team
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
0
PMoransais
Top achievements
Rank 1
answered on 27 Feb 2013, 06:50 PM
Dimo,

Your code works perfectly. I found an error in my code in the JQuery selector for the tabScript.

Thanks for your help. I really appreciate it.

PM
Tags
TabStrip
Asked by
PMoransais
Top achievements
Rank 1
Answers by
Dimo
Telerik team
PMoransais
Top achievements
Rank 1
Share this question
or