This question is locked. New answers and comments are not allowed.
hello all,
i got a problem with autocomplete text box. controller action is not getting text that is typed in the textbox.
//view
<%= Html.Telerik().AutoComplete()
.Name("text")
.HtmlAttributes(new { Style="width:40%;"})
.DataBinding(binding => binding.Ajax().Select("_GetTextLike", "Mytext"))
.HighlightFirstMatch(true)
%>
//controller
i got a problem with autocomplete text box. controller action is not getting text that is typed in the textbox.
//view
<%= Html.Telerik().AutoComplete()
.Name("text")
.HtmlAttributes(new { Style="width:40%;"})
.DataBinding(binding => binding.Ajax().Select("_GetTextLike", "Mytext"))
.HighlightFirstMatch(true)
%>
//controller
[HttpPost]
public ActionResult _GetTextLike(string text)// not getting velue for text
{
return new JsonResult { Data = ..... };
}
thanks in advance