I'm trying to bind a model to a webgrid in mvc, it works perfectly fine when number of records are less, close to 15K .But as soon as the number of records exceeds more than 19K error is logged in browser console(chrome) with Jquery library line no, Uncaught RangeError: Maximum call stack size exceeded. Due to this button's on the screen doesn't gets clicked.I have to perform some client side validation which is a mandatory action.I also tried to to put alert on button click but no luck found.
The same thing was works fine in FF but was fails in chrome.
Please note -I cannot add pagination due to some business requirement and max number of records are 20K
WebGrid invlineitemgrid = new WebGrid(source: Model.Invoices, canPage: false, canSort: false);
Int32 index = -1;