Georgi,
Thanks for the reply.Using your example, I was able to implement the “kendoComboBox”; however, I need to pass a “text” as a method parameter to the controller to make the combobox work. So, how can I pass the text input to the controller?
columns.Bound(q => q.Vendor).ClientTemplate("#: data.Vendor ? data.Vendor.Name : '[None]' #") .EditorTemplateName("ComboBoxLookup_Vendor")
.Filterable(filterable => filterable.Cell(cell => cell.Template("vendorFilter"))).Width(200);
function
vendorFilter(container) {
container.element.kendoComboBox({
name:
"vendors"
,
dataTextField:
"Name"
,
dataValueField:
"VendorID"
,
placeholder:
"Select a vendor"
,
autoBind:
false
,
dataSource: {
transport: {
read:
"@Url.Action("
_GetVendors
", "
Quote
")"
,
},
serverFiltering:
false
},
});
}
Controller:
public
ActionResult _GetVendors(
string
text)
Thanks