Hi,
Is it possible to use DataSourceRequest when using a Combobox with auto suggest?
For example: I have created T4 templates for simple CRUD operations with the read action like so:
public ActionResult Read([DataSourceRequest] DataSourceRequest request)
I was hoping to use this Read method when populating comboboxes and server filtering for suggesting.
At the moment I have had to add the following action to get it to work.
public ActionResult Lookup(string text)
As the objects are small it would be great if there was a way to reuse the Read action and the ToDataSourceResult() extension to create the filters etc.
Is there a way? Am I missing something? Like a custom model binder or an extension method which takes the query string e.g “text=MySearch&filter[logic]=and&filter[filters][0][value]=dsds&filter[filters][0][field]=DisplayName&filter[filters][0][operator]=contains&filter[filters][0][ignoreCase]=true”
Thanks Matt
<script>$("#chart").kendoChart({ series: [{ type: "ohlc", data: [ { open: 1, high: 3, low: 0, close: 1 }, { open: 2, high: 4, low: 1, close: 1.5 }, ], highlight: { line: { width: 5 } } }]});</script>.Events(events => events.Change("Grid_OnRowSelectUID"))Grid_OnRowSelectUID = function (e) { var row = e.row; RowSelectUid = row.firstChild.innerText;}var grid = $(this).data("kendoGrid")