I seem to have hit a stumbling block which I cannot find a simple solution to. Can someone point a direction for me to persue?
I am designing a website which will present to the user a tabbed interface. Each tab will represent a collection of available options/items for the user to fill out when submitting changes to an edited object.
That sounds simple in concept. I have used several host objects. TabStrips, ExpansionPanels have been tried. Both seem to render the same results. Any "content" panels which are not rendered initially do not render properly when selected.
I.E., Tab #0 looks fine. Tab#1, which is obscured/hidden, contains controls that when viewed lack things such as labels, icons, most script driven features. The same logic fails when other non-tabstrip items used.
Here is a quicky sample showing the problem. In theory, expansion panels 1, 2, and 3 should all render content. Only panel #1 shows valid content, 2 and 3 are malformed at best.
My root problem seems to be my inability to dynamically show content not visible when the page is initially rendered. Can someone point me the correct direction? I have tried the "loadfrom" content options all having the same results.
@(Html.Kendo().ExpansionPanel()
.Name("reoccurringItems")
.Title("Reoccurring")
.SubTitle("Items running more than one time")
.Expanded(false)
.Content("Test Text to test feature..")
)
@(Html.Kendo().ExpansionPanel()
.Name("nonReoccurringItem")
.Title("Run Once")
.SubTitle("A item run one time only")
.Expanded(false)
.Content(@<text>
<div>
@(Html.Kendo().DateTimePickerFor(m => m.OneTimeOccurrenceAtDateandTime)
.Label(lbl => lbl.Content("Run Once At Date/Time").Floating(true))
.Rounded(Rounded.Full).ToClientTemplate())
</div>
</text>)
)
@(Html.Kendo().ExpansionPanel()
.Name("nonReoccurringTestItem")
.Title("Test Two")
.SubTitle("Test With Textbox")
.Expanded(false)
.Content(@<text>
<div>
@(Html.Kendo().TextBoxFor(m => m.ScheduleDescription).Label(lbl => lbl.Content("Description").Floating(true)))
</div>
</text>)
)
