@(Html.Kendo().Grid<CourseVM>() .Name("CourseGrid") .DataSource(ds => ds .Ajax() .Events(events => events.Error("courseGridError")) .Model(model => model.Id(o => o.Id)) .Read(read => read.Action("Course_Read", "Course")) .Destroy(destroy => destroy.Action("Course_Destroy", "Course")) .ServerOperation(false)) .Columns(columns => { columns.Bound(c => c.Id).Hidden(); columns.Bound(c => c.Number); columns.Bound(c => c.OrganisationDisplay); columns.Bound(c => c.BeginDate); columns.Bound(c => c.EndDate); columns.Command(commands => { commands.Custom("Aanpassen").Click("courseEdit"); commands.Destroy().Text("Verwijderen"); }).Title("Commands").Width(200); }) .ToolBar(toolbar => { toolbar.Custom().Text("Nieuwe cursus inrichten").Action("Create", "Course"); }) .Pageable() .Sortable() .ClientDetailTemplateId("courseDetailTemplate") .Selectable(selectable => selectable.Mode(GridSelectionMode.Single)) ) <script id="courseDetailTemplate" type="text/kendo-tmpl"> @(Html.Kendo().TabStrip() .Name("tabStrip_#=Id#") .SelectedIndex(0) .Animation(animation => animation.Open(open => open.Fade(FadeDirection.In))) .Items(items => { items.Add().Text("Inschrijvingen").Content( @<text> @(Html.Kendo().Grid<CourseEntryVM>() .Name("entryGrid_#=Id#") .Columns(columns => { columns.Bound(c => c.StudentDisplay); columns.Bound(c => c.EntryDate); }) .DataSource(dataSource => dataSource .Ajax() .Model(model => { model.Id(c => c.StudentPersonAccountId); }) .PageSize(30) .Read(read => read.Action("Entry_Read", "Course", new { courseId = "#=Id#" })) .Create(create => create.Action("Entry_Create", "Course", new { courseId = "#=Id#" })) .ServerOperation(false) ) .ToolBar(toolbar => { toolbar.Create().Text("Inschrijving toevoegen"); }) .Editable(editable => editable.Mode(GridEditMode.PopUp)) .Pageable() .Sortable() .Events(events => events.Save("entryGridSaving")) .ToClientTemplate()) </text> ); }) .ToClientTemplate() ) </script>
Hi,
The snippet in the dojo link below works fine in Chrome.
In firefox the input field vanishes. I think this has something to do with the float of the two panes, I need this as it is part of the site design.
http://dojo.telerik.com/OGazIYiQ/2
Can anyone help?
Thanks.

I'm trying to create a custom number format for a bound column using MVC/Grid like you see in Excel where you have a positive;negative;zero formats I keep getting errors this is what I've tried:
.ClientTemplate("#= kendo.toString(RegularTimeHours, '##,##0.00;(##,##0.00);-' ) #")
.ClientTemplate("#= kendo.toString(RegularTimeHours, '{0:##,##0.00;(##,##0.00);-}' ) #")
Could I get some direction on how to do this?
Thanks
Lee

The MultiSelect-control is bound to a list of strings and it's required that the user select exactly four items.
How can I validate that with Kendo Validator or ASP.Net Validation?
I have also tried to use the Required annotation on the model property, but only that doesn't work.
Neither do the Range-keyword since it only works for numeric fields.
HI I have asp.net mvc application with below telerik grid whcih i want to bind with asp.net webapi hosted on IIS. i can't find any ecample where to put the webapi url and how weapi's controller is invoked. please help in responding to this
@(Html.Kendo().Grid<TelerikMvcApp131.Models.DeviceDetailsChild>()
.Name("webapi_grid")
.Columns(columns =>
{
columns.Bound(p => p.person).Title("ID").Width(100);
columns.Command(command => { command.Edit(); command.Destroy(); }).Width(200);
})
.ToolBar(tools =>
{
tools.Create();
})
.Sortable()
.Pageable()
.Filterable()
.DataSource(dataSource =>
dataSource
.WebApi()
.Model(model =>
{
model.Id(p => p.Network);
})
.Events(events => events.Error("error_handler"))
.Read(read => read.Url(Url.HttpRouteUrl("DefaultApi", new { controller = "product" })))
)
)
Where should i define DefaultApi inside asp.net mvc application (note DefaultApi is defined inside webapi already)
So I pass in a model list of objects into my view, I reference this in my foreign key column and use filterable.UI to link to a separate function to control the filter. But when I try to do this the grid ignore my .Filterable options and uses the data from my Model.List to populate the filter, this is not the case with a non-foreign key column.
Does anyone know how to use custom filter options with a foreign key column in a kendo grid?
Using MVC; How do I get the labels (months) to dynamically align at the bottom of the chart (see attached image) when values are negative?
I have tried:
.Labels(labels => labels.Padding(80, 0, 0, 0))but it changes the scale of my chart if there are no negative values.

