This question is locked. New answers and comments are not allowed.
I'm trying to use DataBinding with a combobox. I've been able to get it working as expected. But now I'd like to use T4MVC for the RouteValueDictionary parameter
I currently have
But when I try to use T4MVC, it needs to know the variable to place in the 1st parameter of ComboBox
I've tried creating a dummy method ComboBox(), but it then returns me a 500 error, because server can't tell the difference between the 2 methods
I currently have
@(Html.Telerik().ComboBoxFor(m => m.ProvinceId) .DataBinding(b => b.Ajax().Select("ComboBox", "Province", "Admin")) .Filterable(filtering => filtering.FilterMode(AutoCompleteFilterMode.StartsWith))But when I try to use T4MVC, it needs to know the variable to place in the 1st parameter of ComboBox
@(Html.Telerik().ComboBoxFor(m => m.ProvinceId) .DataBinding(b => b.Ajax().Select(MVC.Admin.Province.ComboBox( ? ))) .Filterable(filtering => filtering.FilterMode(AutoCompleteFilterMode.StartsWith))I've tried creating a dummy method ComboBox(), but it then returns me a 500 error, because server can't tell the difference between the 2 methods