Let's say I have a program with two buttons, and each one of them populate my grid with different data
. Every time I click any button it reads the data and replace the current data on the grid with the new one. The problem is, let's say button 1 returned an error like 'Uncaught TypeError: Cannot read properties of null', then when I try to click button 2, which has data that doesn't cause errors, then the read method is not called, it doesn't even show on the network tab.
Is it suppose to be like that, or is there a way to make a situation like this work?
Some information: My grid is made by using MVC model (Html.Kendo().Grid<>) approach, with dataSource.Ajax().