Cassie Mod

Cassie Mod

  • NA
  • 488
  • 70.4k

convert error for grid

Jan 14 2016 7:21 AM
HI,
 
Ive got 3 partial views one of them looks like this:
However i got an error. Does somebody know how to fix it ? i can't change te model . I'd have to i got the same error on all 3 partial views ( probably because i use Kendo UI)
 
error 1:  argument1 --> cannot convert from telerikMvcApp1.Models.ProgramStatus to System.Data.DataTable
error2: cannot resolve symbol bound 
 
 @model TelerikMvcApp1.Models.ProgramStatus
@(Html.Kendo().Grid(Model)   //--> gives error argument 1
.Name("CollectorGrid")
.Columns(columns =>
{
columns.Bound(c => Model.ProgramName);  // gives error 2
   columns.Bound(c => Model.ProgramLastRun); // gives error 2
})
.Pageable() //Enable paging
.Groupable()
.Sortable()
)