Is it possible to keep tabstrip in layout page and the loaded content in some body section?

3 posts, 0 answers
  1. Bspreethi
    Bspreethi avatar
    7 posts
    Member since:
    Mar 2012

    Posted 27 Jan 2013 Link to this post

    Hi,

    My requirement is like, I want to keep my tabs in layout page, as its shared across all the pages.
    But when im clicking tab, respective content needs to load in Body section(@RenderBody)
    in some other views like below.

    Layout.cshtml
    *******************
    <body>
            <header>         
                    @* Some Content here *@
                    @Html.Partial("_TabPageUI") @*Tabstrip Page*@
            </header>
                   @RenderBody()
        <footer>
             @* Some Content here *@
        </footer>
    </body>

    Index.cshtml (which is rendering in renderbody)
    *****************
    <div id="tabcontent">
             @* Needs to load tab content here *@
    </div>

    As of now, im using Ajax.actionlink with update target id (tabcontent), but i want to use kendo tabstrip and acheive the same.
    Is it possible to do so?

    Thanks,
    PreethiBaskaran.
  2. Daniel
    Admin
    Daniel avatar
    2117 posts

    Posted 30 Jan 2013 Link to this post

    Hello PreethiBaskaran,

    The TabStrip supports loading the content only in its own container. If you wish to load the content via Ajax in an element within the body then you could use the select event to call the jQuery load method.

    Kind regards,
    Daniel
    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. Bspreethi
    Bspreethi avatar
    7 posts
    Member since:
    Mar 2012

    Posted 01 Feb 2013 Link to this post

    Okay Daniel. Thanks. Let me try out in another way..
Back to Top