We have multiple Heirachical grids but are having issues when trying to construct routing data that contains Guids. The following Template works fine, the Controller receives the Guid Value (Query String Parameters "ruleId:22222222-2222-2222-2222-222222222222") .The content of the tab being a partial view containing a sub-grid:
<script id="RuleDetailTemplate" type="text/x-kendo-template">
@(Html.Kendo().TabStrip()
.Name("detailTabs_#=RuleId#")
.Items(items =>
{
items.Add().Text(Resources.DetailsLabel)
.Selected(true)
.LoadContentFrom("RuleDetailsTab", "Administration",
new { ruleId = "#=RuleId#" });
...
}).ToClientTemplate()
)
</script>
However if we replace the TabStrip with a Splitter the controller receives (Query String Parameters "ruleId:#=RuleId#"):
<script id="RuleDetailTemplate" type="text/x-kendo-template">
@(Html.Kendo().Splitter()
.Name("detailsContainer_#=RuleId#")
.Panes(panes =>
{
panes.Add()
.LoadContentFrom("RuleDetailsTab", "Administration",
new { ruleId = "#=RuleId#" });
}).ToClientTemplate()
)
</script>
We do not specifically want to use a Splitter in this case as there is only one panel but can not embed the sub grid directly as it will also not allow us to build the Model properties for a create.