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
>