or
Compilation Error
Description: An error occurred during the compilation of a resource required to service this request. Please review the following specific error details and modify your source code appropriately.
Compiler Error Message: CS0311: The type 'Shiner.ViewModels.CompanyEventVM' cannot be used as type parameter 'T' in the generic type or method 'Kendo.Mvc.UI.Fluent.WidgetFactory.Scheduler<
T
>()'. There is no implicit reference conversion from 'Shiner.ViewModels.CompanyEventVM' to 'Kendo.Mvc.UI.ISchedulerEvent'.
Source Error:
Line 19:
Line 20:
Line 21: @(Html.Kendo().Scheduler<
Shiner.ViewModels.CompanyEventVM
>()
Line 22: .Name("scheduler")
Line 23: .Date(new DateTime(2013, 6, 13))
var
templateHtml = "<div class=
'twit'
>\
<h1>
#: title.#cdata-section #</h1>\
</div>";
var
templateHtml = "<div class=
'twit'
>\
<h1>
#: title.\\#cdata-section #</h1>\
</div>";
@(Html.Kendo().DropDownList()
.Name("SelectedClientIdKendo")
.HtmlAttributes(new { style = "width:200px" })
.DataTextField("Key")
.DataValueField("Value")
.BindTo(Model.ClientList)
)
<
input
id
=
"SelectedClientIdKendo"
name
=
"SelectedClientIdKendo"
style
=
"width:200px"
type
=
"text"
/>
<
script
>
jQuery(function(){jQuery("#SelectedClientIdKendo").kendoDropDownList({"dataSource":{"2XXXXX":"2YYYYY"},"dataTextField":"Key","dataValueField":"Value"});});
</
script
>
Html.Kendo().Chart<
AccountPerformance
>(Model.Results)
.Name("chartPCT")
.Title("% Return")
.Legend(legend => legend.Visible(false))
.Series(series =>
series.Column(model => model.Metrics.Return)
.Name(Model.ColumnTitle)
.Labels(false))
.ValueAxis(axis => axis
.Numeric()
.Labels(labels => labels.Format("{0}%")))
.CategoryAxis(axis => axis
.Date()
.MajorGridLines(builder => builder.Visible(false))
.Categories(model => model.ObservationDate)
.Labels(labels => labels.Format("MMM")))
.SeriesDefaults(builder => builder.Column().NegativeColor("#BE2D55").Color("#C0BD7F"))
.Tooltip(tooltip => tooltip
.Visible(true)
.Color("white")
.Background("black")
.Format("{0:P2}")
.Template("#= value #")
)
.Render();