Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Mihail 39 posts 142 karma points
    Apr 26, 2016 @ 05:57
    Mihail
    0

    Open a tab in Umbraco CMS

    Hi,

    I developed a page where an user can edit (using front editing plugin) a content.

    That page has some properties separated in 3 tabs (Title where you can put on EN, FR, DE, NL, RO language separately; Description same thing like in Title; and Upload file)

    What I want to do ? When click on description, I want to open Description tab... But default is opened first tab ( Title )

    How to do that ?

    I tried to get the available tabs with:

    DocumentType dt = new DocumentType(1051); //id of documenttype
    foreach (ContentType.Tab x in dt.getVirtualTabs)
    {
        ...
    }  
    

    But seems that DocumentType is obsolete, also getVirtualTabs is obsolete.

    So, how to get available tabs ? And how to select it dynamically (if is possible through javascript then is perfect)

Please Sign in or register to post replies

Write your reply to:

Draft