Hello, I would like to set other content to my splitter pane after i configured it by usig RAZOR syntax, The idea is that i have a treeview and onSelect event where I set the right pane content to a grid or calendar or some other stuff. How can I add thosse widgets to my right-pane using javascript? I can set the text of the field but i can't find a Content option. If you have other ideas how to implement this please feel free to suggest.
@Code
Html.Kendo().Splitter() _
.Name("Splitter") _
.HtmlAttributes(New With {.id = "pekasz"}) _
.Orientation(SplitterOrientation.Horizontal) _
.Panes(Sub(panes)
...
panes.Add().Scrollable(True) _
.Collapsible(False) _
.HtmlAttributes(New With {.id = "right-pane"}) _
.Content("<div id = 'estifeny'>" & Html.Kendo().Calendar().Name("bar").HtmlAttributes(New With {.id = "kicsicsicsiman"}).ToHtmlString & "</div>")
END Code
<script>
function onSelect(e) {
$("#right-pane").text(this.text(e.node)) ;
$("#right-pane").Content???
};
</script>
@Code
Html.Kendo().Splitter() _
.Name("Splitter") _
.HtmlAttributes(New With {.id = "pekasz"}) _
.Orientation(SplitterOrientation.Horizontal) _
.Panes(Sub(panes)
...
panes.Add().Scrollable(True) _
.Collapsible(False) _
.HtmlAttributes(New With {.id = "right-pane"}) _
.Content("<div id = 'estifeny'>" & Html.Kendo().Calendar().Name("bar").HtmlAttributes(New With {.id = "kicsicsicsiman"}).ToHtmlString & "</div>")
END Code
<script>
function onSelect(e) {
$("#right-pane").text(this.text(e.node)) ;
$("#right-pane").Content???
};
</script>