This question is locked. New answers and comments are not allowed.
In my project I am using an MVC grid in client mode.
I have noticed that the MVC grid sends an ajax request to the server during rendering when the grid is empty. I debugged the grid Java Script file and there is indeed an ajax call being fired. However it seems to only make the call whenever the grid renders with zero rows. What is the purpose of this call?
The request reolves to the default route in my application. I would like to prevent this call since it's sending an invalid request to my default action. Is there a setting to prevent it.
I am not sure if this is related, but the grid doesn't seem to respect the client operation mode setting if the grid is empty. Clicking column headers (sort) will cause a request to go to the server if the grid is empty. This request seems to also resolve to the default route.
Thanks
I have noticed that the MVC grid sends an ajax request to the server during rendering when the grid is empty. I debugged the grid Java Script file and there is indeed an ajax call being fired. However it seems to only make the call whenever the grid renders with zero rows. What is the purpose of this call?
The request reolves to the default route in my application. I would like to prevent this call since it's sending an invalid request to my default action. Is there a setting to prevent it.
I am not sure if this is related, but the grid doesn't seem to respect the client operation mode setting if the grid is empty. Clicking column headers (sort) will cause a request to go to the server if the grid is empty. This request seems to also resolve to the default route.
Thanks