Description
...
As an additional change, the criteriaPolicy is now set to "dropOnChange", which will force the DataSource to send requests to the back-end each time the criteria changes, the "dropOnChange" is set in order to show the server-side search criteria functioning, because normally the grid will perform searching in the browser when all data is loaded, and this setting should be removed for production applications.
Changes on the back-end
If the sample,was run at this stage the payload sent to the server will look similar to this:
...
The complete code for this sample project can be downloaded from here.
Note |
---|
This code is vulnerable to SQL Injection attacks, which should be fixed in a real implementation. |