I am using Kendo UI with ASP.NET MVC. There are 6 dropdowns on the home page, taking a lot of time to load the data, 45 seconds. Data is not large.
This is how all the dropdown are written:
@(Html.Kendo().ComboBoxFor(model => model.ProductId)
.Name("GreenProduct")
.DataTextField("Name")
.DataValueField("ProductId")
.AutoBind(false)
.DataSource(datasource => datasource
.Read(read => read
.Action("GetProductForProject", "Product")
.Data("hierarchy.filterProduct")
.Type(HttpVerbs.Post)
)
.ServerFiltering(true)
)
.Filter(FilterType.Contains)
.Suggest(false)
.Delay(0)
.HtmlAttributes(new { style = "width:100%" })
)
I don't want to load data on dropdowns on page load. If data loading on dropdown click that will also be ok. How can I fix this ?
Hi Nasiruddin,
Thank you for the code snippet and details provided.
This one seems to be a BackEnd related as the implementation looks perfect.
Could you please open a regular ticket where you can share a runnable sample of the application:
Once we have the issue represented on our side will make our best to resolve it.
Kind Regards,
Anton Mironov