I am trying to bind a data table to Grid on button click.
I am able bind data, however
1. I want to show a blank grid when the page is loaded
2. Show data only on button click
I have attacked the code of controller and view that I am using
Also the screenshot
4 Answers, 1 is accepted
Generally, there is no problem to show an empty Grid. You should either bind it to an empty collection initially, or use Ajax binding and set AutoBind(false).
The fact that Internet Explorer offers to open/save the JSON response, suggests that the JSON response is sent with a wrong content-type, and/or that the browser doesn't support the response content-type. This is not related to Kendo UI.
This link you provided above:
is coming back not found - I think this documents exactly what I am after, could you please provide a working link?
In order to pass additional parameters when making a CRUD request, you can use the data method.
The JQuery syntax and the MVC syntax.
Virtual Classroom, the free self-paced technical training that gets you up to speed with Telerik and Kendo UI products quickly just got a fresh new look + new and improved content including a brand new Blazor course! Check it out at https://learn.telerik.com/.