This is a migrated thread and some comments may be shown as answers.

Master-Detail Grid : On load of screen, it hit the control multiple times

1 Answer 54 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Deepti
Top achievements
Rank 1
Veteran
Deepti asked on 15 Mar 2021, 02:33 PM

I have designed the master-details grid using this example

https://demos.telerik.com/aspnet-mvc/grid/detailtemplate

But, I have noticed that it it the controller (as database) multiple times. Only difference between this code and my code is that I am using asynchronous action method.

Could you please let me know how to stop multiple hits to database / controller on load of grid?

1 Answer, 1 is accepted

Sort by
0
Tsvetomir
Telerik team
answered on 18 Mar 2021, 11:54 AM

Hi Deepti,

In case the first row of the Kendo UI Grid is automatically expanded, then, it is expected to observe 2 requests. This is due to the fact that the parent grid is loading its data and after that, the first child is opened that sends a separate read request. Attached is a screenshot demonstrating the same.

Let me know if you experience more than the aforementioned 2 requests.

 

Kind regards,
Tsvetomir
Progress Telerik

Love the Telerik and Kendo UI products and believe more people should try them? Invite a fellow developer to become a Progress customer and each of you can get a $50 Amazon gift voucher.

Tags
Grid
Asked by
Deepti
Top achievements
Rank 1
Veteran
Answers by
Tsvetomir
Telerik team
Share this question
or