This question is locked. New answers and comments are not allowed.
Hi,
I have 2 questions, first my code:
1. When typing a search phrase, this code still highlights the first item. Why isn't HighlightFirstMatch(false) working here?
2. After making a search, the search form redirects to search result page and there I want the search phrase to be added back to the control but I can't use .Value(Request.QueryString["q"]) for this. So how do I set initial value?
Regards,
Mattias
I have 2 questions, first my code:
Html.Telerik() .ComboBox() .Name("Search") .Encode(true) .DataBinding(binding => binding.Ajax().Select("SearchInlineResult", "Article").Cache(false).Delay(500)) .AutoFill(false) .HtmlAttributes(new { @class = "fake-autocomplete", style = "color: #888888; width: 250px" }) .HighlightFirstMatch(false) .Filterable(filter => filter.Enabled(false)) .Value(Request.QueryString["q"]) .Render();1. When typing a search phrase, this code still highlights the first item. Why isn't HighlightFirstMatch(false) working here?
2. After making a search, the search form redirects to search result page and there I want the search phrase to be added back to the control but I can't use .Value(Request.QueryString["q"]) for this. So how do I set initial value?
Regards,
Mattias