schema.data in razor syntax

1 posts, 0 answers
  1. Sunil
    Sunil avatar
    1 posts
    Member since:
    Oct 2012

    Posted 12 Oct 2012 Link to this post

    I am new to kendoUI.

    I define the chart as follows

     @(Html.Kendo().Chart<SureCalc.Models.HomePurchaseReportDataModel>()
                          .Name("homePuchaseChart")
                          .Legend(legend => legend
                          .Position(ChartLegendPosition.Top)
                        )
                        .DataSource(ds => ds.Read(read => read.Action("_HomePurchaseResult", "Decision")))
                        .................................

    I want to bind to a specif field in the returned object instead of the top level object.
    How do I do this? I don't see schema.data exposed in RAZOR syntax.

    Thanks
    Sunil
Back to Top