Where to find Kendo.Mvc.Examples.Models

I am trying to create a kendo schedule, but you need to go into the model. In the examples, he tells you to use

@ (Html.Kendo (). Scheduler <Kendo.Mvc.Examples.Models.Scheduler.TaskViewModel> ())

But, of course, I do not have this model of views. Can someone call me where can I find him? I searched for more than 5 hours. please, help

+4
source share
2 answers

The models specified in the KendoUI examples for ASP.NET MVC are not part of the assembly Kendo.Mvc.dll. Instead, you must download them from your Telerik account. Go to telerik.com and log in. From there, go to your products and subscriptions and find "KendoUI for ASP.NET MVC" and select "View all product files." Download the "Manual Installation" file and unzip it.

enter image description here

You will find examples (and reference models) in the folder wrappers\aspnetmvc\Examples.

enter image description here

If you want to reference the models in your project, just take a copy of the compiled assembly Kendo.Mvc.Examples.dllfrom the bin folder in the sample project. Keep in mind that this will include all of the examples (controllers, models, view models, etc.).

I hope this helps.

+7

ISchedulerEvent.

:

public class AvailableDateModel : ISchedulerEvent
{
    public string Title { get; set; }
    public bool IsAllDay { get; set; }
    public DateTime Start { get; set; }
    public DateTime End { get; set; }

    public string Description { get; set; }
    public string StartTimezone { get; set; }
    public string EndTimezone { get; set; }
    public string RecurrenceRule { get; set; }
    public string RecurrenceException { get; set; }
}
+5

All Articles