Hi,
I'm using the Razor HtmlHelper for the ComboBox populating the items on-demand and filtered much like your cascading combobox demo (http://demos.telerik.com/aspnet-mvc/combobox/cascadingcombobox). However my combobox needs to pass multiple filters to the server in a specific JSON object (filters must form part of an array) and data is returned in a JSON object. In summary I really need to have complete control of the request and response handling and would like to know the approach you'd recommend. Would a custom datasource be best with a parameterMap? I've not seen a real in-depth demo of how this is done with the Razor HtmlHelpers.
Lastly the server filtering I'm using adds in the filters currently like the demo mentioned above whereby you specify a javascript function name to supply the additional filters e.g. Data("filterProducts");. However I'm finding this rather limiting as I have a large number of comboboxs and each one must have it's own method, they all do the same thing pretty much however they rely on custom data attributes on the combobox box itself. Is there a way to have the combobox object/selector passed into the function?
Thanks,
Shane
I'm using the Razor HtmlHelper for the ComboBox populating the items on-demand and filtered much like your cascading combobox demo (http://demos.telerik.com/aspnet-mvc/combobox/cascadingcombobox). However my combobox needs to pass multiple filters to the server in a specific JSON object (filters must form part of an array) and data is returned in a JSON object. In summary I really need to have complete control of the request and response handling and would like to know the approach you'd recommend. Would a custom datasource be best with a parameterMap? I've not seen a real in-depth demo of how this is done with the Razor HtmlHelpers.
Lastly the server filtering I'm using adds in the filters currently like the demo mentioned above whereby you specify a javascript function name to supply the additional filters e.g. Data("filterProducts");. However I'm finding this rather limiting as I have a large number of comboboxs and each one must have it's own method, they all do the same thing pretty much however they rely on custom data attributes on the combobox box itself. Is there a way to have the combobox object/selector passed into the function?
Thanks,
Shane