public ActionResult FilteringServer(ComboBoxAjaxFilteringModel model) { model.ComboBoxAttributes.AutoFill = model.ComboBoxAttributes.AutoFill ?? true; model.ComboBoxAttributes.Cache = model.ComboBoxAttributes.Cache ?? true; model.ComboBoxAttributes.Delay = model.ComboBoxAttributes.Delay ?? 400; model.ComboBoxAttributes.FilterMode = model.ComboBoxAttributes.FilterMode ?? 0; model.ComboBoxAttributes.HighlightFirst = model.ComboBoxAttributes.HighlightFirst ?? true; model.ComboBoxAttributes.MinimumChars = model.ComboBoxAttributes.MinimumChars ?? 0; model.AutoCompleteAttributes.AutoFill = model.AutoCompleteAttributes.AutoFill ?? true; model.AutoCompleteAttributes.Cache = model.AutoCompleteAttributes.Cache ?? true; model.AutoCompleteAttributes.Delay = model.AutoCompleteAttributes.Delay ?? 400; model.AutoCompleteAttributes.FilterMode = model.AutoCompleteAttributes.FilterMode ?? 1; model.AutoCompleteAttributes.HighlightFirst = model.AutoCompleteAttributes.HighlightFirst ?? true; model.AutoCompleteAttributes.MinimumChars = model.AutoCompleteAttributes.MinimumChars ?? 1; model.AutoCompleteAttributes.AllowMultipleValues = model.AutoCompleteAttributes.AllowMultipleValues ?? false; return(View(model)); }
public ActionResult FilteringServer(ComboBoxAjaxFilteringModel model) { model.ComboBoxAttributes.AutoFill = model.ComboBoxAttributes.AutoFill ?? true; model.ComboBoxAttributes.Cache = model.ComboBoxAttributes.Cache ?? true; model.ComboBoxAttributes.Delay = model.ComboBoxAttributes.Delay ?? 400; model.ComboBoxAttributes.FilterMode = model.ComboBoxAttributes.FilterMode ?? 0; model.ComboBoxAttributes.HighlightFirst = model.ComboBoxAttributes.HighlightFirst ?? true; model.ComboBoxAttributes.MinimumChars = model.ComboBoxAttributes.MinimumChars ?? 0; model.AutoCompleteAttributes.AutoFill = model.AutoCompleteAttributes.AutoFill ?? true; model.AutoCompleteAttributes.Cache = model.AutoCompleteAttributes.Cache ?? true; model.AutoCompleteAttributes.Delay = model.AutoCompleteAttributes.Delay ?? 400; model.AutoCompleteAttributes.FilterMode = model.AutoCompleteAttributes.FilterMode ?? 1; model.AutoCompleteAttributes.HighlightFirst = model.AutoCompleteAttributes.HighlightFirst ?? true; model.AutoCompleteAttributes.MinimumChars = model.AutoCompleteAttributes.MinimumChars ?? 1; model.AutoCompleteAttributes.AllowMultipleValues = model.AutoCompleteAttributes.AllowMultipleValues ?? false; return View(model); }