This question is locked. New answers and comments are not allowed.
I'm having trouble getting a TabStrip control nested in a Panel. Everything displays as it should except that the TabStrip is rendered outside (above) the Panel. I can't seem to get it in the Panel. I'm using Razor and v2012.2.607 of the UI Extensions. Any ideas, maybe I'm doing something wrong? Below is my code, note that I followed a different posts example of Rendering the TabStrip via a helper method. I was hoping this would fix it but it is not.
@helper Test()
{
Html.Telerik().TabStrip()
.Name("tbExamples")
.BindTo((List<RequestFormatExample>)FormatExamples, (a, b) =>
{
a.Text = b.Type.ToString();
a.Html = b.Description + "test";
}).Render();
}
@(Html.Telerik().PanelBar()
.ExpandMode(PanelBarExpandMode.Multiple)
.Name("pnlExamples")
.HtmlAttributes(new { style = "border: 0px none #ffffff;" })
.Items(Item =>
{
Item.Add()
.Expanded(true)
.Text("Examples")
.Content(
@<text>
@Test()
</text>);
})
)
@helper Test()
{
Html.Telerik().TabStrip()
.Name("tbExamples")
.BindTo((List<RequestFormatExample>)FormatExamples, (a, b) =>
{
a.Text = b.Type.ToString();
a.Html = b.Description + "test";
}).Render();
}