TECHNOLOGIES
FORUMS
JOBS
BOOKS
EVENTS
INTERVIEWS
Live
MORE
LEARN
Training
CAREER
MEMBERS
VIDEOS
NEWS
BLOGS
Sign Up
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
Answers
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
Forums
Monthly Leaders
Forum guidelines
Cassie Mod
NA
488
70.1k
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()
)
Reply
Answers (
0
)
how to dynamically add database values inside div
error when loading data from partial view