Error on Empty Tab Strip

8 posts, 1 answers
  1. PMoransais
    PMoransais avatar
    17 posts
    Member since:
    Mar 2007

    Posted 25 Feb 2013 Link to this post

    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
  2. Answer
    Dimo
    Admin
    Dimo avatar
    8332 posts

    Posted 26 Feb 2013 Link to this post

    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!
  3. Kendo UI is VS 2017 Ready
  4. PMoransais
    PMoransais avatar
    17 posts
    Member since:
    Mar 2007

    Posted 26 Feb 2013 Link to this post

    Thanks Dino.

    My lucky day! 

    Philippe
  5. PMoransais
    PMoransais avatar
    17 posts
    Member since:
    Mar 2007

    Posted 26 Feb 2013 Link to this post

    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
  6. Dimo
    Admin
    Dimo avatar
    8332 posts

    Posted 27 Feb 2013 Link to this post

    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!
  7. PMoransais
    PMoransais avatar
    17 posts
    Member since:
    Mar 2007

    Posted 27 Feb 2013 Link to this post

    Hi Dimo

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


    thanks

    pm
  8. Dimo
    Admin
    Dimo avatar
    8332 posts

    Posted 27 Feb 2013 Link to this post

    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!
  9. PMoransais
    PMoransais avatar
    17 posts
    Member since:
    Mar 2007

    Posted 27 Feb 2013 Link to this post

    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
Back to Top
Kendo UI is VS 2017 Ready