or
<div class="k-block"> <div class="k-header k-shadow"><span class="k-icon k-i-pencil"></span>Employee Colour</div> <div class="editor-label"> @Html.LabelFor(x => x.BackgroundColour) </div> <div class="editor-field"> @(Html.Kendo().ColorPicker().Name("BackgroundColour").Palette(ColorPickerPalette.Basic).Value(Model.BackgroundColour)) @Html.TextBoxFor(x => x.BackgroundColourInput, new { @class = "editor-colour"}) </div> <br /> <div class="editor-label"> @Html.LabelFor(x => x.TextColour) </div> <div class="editor-field"> @(Html.Kendo().ColorPicker().Name("TextColour").Palette(ColorPickerPalette.Basic).Value(Model.TextColour)) @Html.TextBoxFor(x => x.TextColourInput, new { @class = "editor-colour"}) </div> <br/></div>Hi,
I looked at the example in http://demos.kendoui.com/web/grid/editing-popup.html (ASP.NET MVC)
Kendo.Mvc.Examples.Models.ProductViewModel is a simple object,
I am interested in supporting Create and Update of an object that relates to other objects (in a Parent child manner)
For example : Lets say the grid shows Students and a Student relates to Phones via StudentPhones
The popup should enable the user to edit/create a Student with its Phones all together.
I wonder if you can supply me a project that shows how to handle the Create and Update in a similar scenario to the one I described.
Thanks in advance.
Lauri
p.s. My app is an N-Tier app using EntityFramework