Is this even possible?
Orignally I was hoping to be able to have TabStrips inside my Editor Template. The idea being that instead of adding new items to the list, I could choose to add existing items. (for example, I have a Customer Grid and I want to add Items Owned by customer, so I have a sub grid showing Items Owned, I want to be able to add both a entirely new item, and an existing item).
I've tried to use the example TabStrip and PanelBar without luck.
Both of the times I've tried (with TabStrips and PanelBars) I get Invalid Template, erroring on kendo.dataviz.min.js.
If this cannot be done the only other way I can think is to create 2 custom toolbar buttons which will load a popup which replicates the Add (1 add a new item and 1 add an existing item), but I cannot find any examples of a custom toolbar with a popup (only the ViewDetail example which is inline).
As you can most probably tell, I am quite new to this!
Thanks,
Orignally I was hoping to be able to have TabStrips inside my Editor Template. The idea being that instead of adding new items to the list, I could choose to add existing items. (for example, I have a Customer Grid and I want to add Items Owned by customer, so I have a sub grid showing Items Owned, I want to be able to add both a entirely new item, and an existing item).
I've tried to use the example TabStrip and PanelBar without luck.
@model Model.Test @(Html.Kendo().PanelBar() .Name("panelbar") .ExpandMode(PanelBarExpandMode.Single) .HtmlAttributes(new { style = "width:300px" }) .Items(panelbar => { panelbar.Add().Text("My Teammates") .Expanded(true) .Content(@<div style="padding: 10px;"> <div class="teamMate"> <h2>Andrew Fuller</h2> <p>Team Lead</p> </div> <div class="teamMate"> <h2>Nancy Leverling</h2> <p>Sales Associate</p> </div> <div class="teamMate"> <h2>Robert King</h2> <p>Business System Analyst</p> </div> </div>); panelbar.Add().Text("Projects") .Items(projects => { projects.Add().Text("New Business Plan"); projects.Add().Text("Sales Forecasts") .Items(forecasts => { forecasts.Add().Text("Q1 Forecast"); forecasts.Add().Text("Q2 Forecast"); forecasts.Add().Text("Q3 Forecast"); forecasts.Add().Text("Q4 Forecast"); }); projects.Add().Text("Sales Reports"); }); panelbar.Add().Text("Programs") .Items(programs => { programs.Add().Text("Monday"); programs.Add().Text("Tuesday"); programs.Add().Text("Wednesday"); programs.Add().Text("Thursday"); programs.Add().Text("Friday"); }); panelbar.Add().Text("Communication").Enabled(false); }) )Both of the times I've tried (with TabStrips and PanelBars) I get Invalid Template, erroring on kendo.dataviz.min.js.
If this cannot be done the only other way I can think is to create 2 custom toolbar buttons which will load a popup which replicates the Add (1 add a new item and 1 add an existing item), but I cannot find any examples of a custom toolbar with a popup (only the ViewDetail example which is inline).
As you can most probably tell, I am quite new to this!
Thanks,