This question is locked. New answers and comments are not allowed.
Hi,
I am using ASP.NET MVC Q1 2010 SP2. I created a new application and followed everything step by step that is mention in this article
http://www.telerik.com/help/aspnet-mvc/getting-started-using-telerik-extensions-for-asp.net-mvc-in-your-project.html
but when I went to index.aspx page in view, I did
and I got the error
'Telerik.Web.Mvc.UI.ViewComponentFactory<object>' does not contain a definition for 'ComboBox' and no extension method 'ComboBox' accepting a first argument of type 'Telerik.Web.Mvc.UI.ViewComponentFactory<object>' could be found (are you missing a using directive or an assembly reference?)
I can see other controls in intellisense, but not combobox or dropdown list control. I am very new tro MVC.
Please let me know what am i doing wrong.
I am using ASP.NET MVC Q1 2010 SP2. I created a new application and followed everything step by step that is mention in this article
http://www.telerik.com/help/aspnet-mvc/getting-started-using-telerik-extensions-for-asp.net-mvc-in-your-project.html
but when I went to index.aspx page in view, I did
<%
= Html.Telerik().ComboBox().Name("ComboBox").AutoFill(Model.ComboBoxAttributes.AutoFill.Value).SelectedIndex(Model.ComboBoxAttributes.SelectedIndex.Value) .BindTo(new SelectList(Model.Products, "ProductID", "ProductName")) .HtmlAttributes(new { style = string.Format("width:{0}px", Model.ComboBoxAttributes.Width) }) .Filterable(filtering => { if (Model.ComboBoxAttributes.FilterMode != 0) { filtering.FilterMode(AutoCompleteFilterMode.StartsWith); } }) .HighlightFirstMatch(Model.ComboBoxAttributes.HighlightFirst.Value) %>
and I got the error
'Telerik.Web.Mvc.UI.ViewComponentFactory<object>' does not contain a definition for 'ComboBox' and no extension method 'ComboBox' accepting a first argument of type 'Telerik.Web.Mvc.UI.ViewComponentFactory<object>' could be found (are you missing a using directive or an assembly reference?)
I can see other controls in intellisense, but not combobox or dropdown list control. I am very new tro MVC.
Please let me know what am i doing wrong.