Hello,
If I reload the tabstrip Content of the second tab with JavaScript with tabStrip.reload(item) in a partialview the Content is not replaced but
always appended...
@(Html.Kendo().TabStrip().Name(
"tabMitglieddokumenteEdit"
)
.Animation(
false
).Items(tab =>
{
tab.Add().Text(
"Ansicht"
).Selected(
true
).Content(@<text><iframe style=
"position: absolute; height: calc(100% - 70px); width:100%; border: none"
frameborder=
"0"
src=
"@ViewBag.BCPHostUrl/DocumentViewer?source=Mitglieddokumente&id=@Model.Mitglied_ID&docid=@Model.Dokument_ID&w=100&h=100&sidepane=true&toolbar=true"
></iframe></text>);
tab.Add().Text(
"Dokumentdaten"
).LoadContentFrom(
"DokumentEdit_Read"
,
"Mitglieddokumente"
,
new
{ mitgliedid = @Model.Mitglied_ID, dokumentid = @Model.Dokument_ID });
}))
maybe the reason is that the tabstrip is in a partial view but how to avoid that?
robert