Hi ,
i having error when creating combobox.
As..
The call is ambiguous between the following methods or properties: 'Syncfusion.JavaScript.DropDownListPropertiesBuilder.Datasource(System.Collections.IEnumerable)' and 'Syncfusion.JavaScript.DropDownListPropertiesBuilder.Datasource(System.Action<Syncfusion.JavaScript.DataSourceBuilder>)'
Mycode is:
@Html.EJ().DropDownList("CityMaster").WatermarkText("Select CityMaster").AllowVirtualScrolling(true).VirtualScrollMode(VirtualScrollMode.Normal).DropDownListFields(f => f.Value("Code").Text("Name")).EnableAnimation(true).EnableIncrementalSearch(true).CaseSensitiveSearch(false).Width("200").Datasource(ViewBag.City)
Please need your help.
What i am doing wrong.???