Something strange is baffling me with regard to the mobile list view. Here is the syntax:
The method, 'ReadDetails' is not getting called. However, if I put a regular list view on the page, it loads just fine:
What am I missing? I want to have a certain portion of my application as mobile-friendly, but the mobile widgets are not playing nice. I have been through every demo on the site for the list view, but nothing works for me.
Sean~
@(Html.Kendo().MobileView()
.Name("detail")
.Title("Attendance Monitor")
.Layout("MobileLayout")
.Content(obj =>
Html.Kendo().MobileListView()
.Name("ParkListDetail")
.TemplateId("detailTemplate").AutoBind(true)
.DataSource(dataSource => dataSource.Read(read => read.Action("ReadDetails", "Mobile"))))
)
The method, 'ReadDetails' is not getting called. However, if I put a regular list view on the page, it loads just fine:
@(Html.Kendo().ListView(Model)
.Name("ParkListSummary")
.TagName("div")
.ClientTemplateId("summaryTemplate").AutoBind(true)
.DataSource(dataSource => dataSource
.Read("ReadDetails", "Mobile")
.Model(model => model.Id(park => park.ParkID))
))
What am I missing? I want to have a certain portion of my application as mobile-friendly, but the mobile widgets are not playing nice. I have been through every demo on the site for the list view, but nothing works for me.
Sean~