Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
1730
Error in chtml page
posted

Hi,

I am using igDataChart as below:

 

 

 

 

 

 

@(  Html.Infragistics().DataChart(Model)
    .ID("chart")
    .Width("700px")
    .Height("400px")
    .VerticalZoomable(true)
    .HorizontalZoomable(true)
    .Axes((axes) =>    getting error on this line
    {
        axes.NumericX("xAxis");
        axes.NumericY("yAxis");
    })
    .DataBind()
    .Render()
)

Error is as below:

CS1977: Cannot use a lambda expression as an argument to a dynamically dispatched operation without first casting it to a delegate or expression tree type

Parents Reply Children