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

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

2 Answers 169 Views
TabStrip
This is a migrated thread and some comments may be shown as answers.
Bspreethi
Top achievements
Rank 1
Bspreethi asked on 28 Jan 2013, 05:30 AM
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 Answers, 1 is accepted

Sort by
0
Daniel
Telerik team
answered on 30 Jan 2013, 08:51 AM
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!
0
Bspreethi
Top achievements
Rank 1
answered on 01 Feb 2013, 10:07 AM
Okay Daniel. Thanks. Let me try out in another way..
Tags
TabStrip
Asked by
Bspreethi
Top achievements
Rank 1
Answers by
Daniel
Telerik team
Bspreethi
Top achievements
Rank 1
Share this question
or