Kendo UI dropdowns are taking a lot of time to load data in ASP.NET MVC

0 Answers 120 Views
Forum suggestions Miscellaneous
n/a
Top achievements
Rank 1
n/a asked on 12 Dec 2022, 06:14 AM

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 ?

 

 

 

Anton Mironov
Telerik team
commented on 14 Dec 2022, 04:20 PM

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

 

No answers yet. Maybe you can help?

Tags
Forum suggestions Miscellaneous
Asked by
n/a
Top achievements
Rank 1
Share this question
or