This is a migrated thread and some comments may be shown as answers.

COMBOBOX Object doesn't support property or method 'requestData'

2 Answers 147 Views
ComboBox
This is a migrated thread and some comments may be shown as answers.
Ryan Lege
Top achievements
Rank 1
Ryan Lege asked on 27 Jul 2012, 02:47 PM
//THE COMBOBOX 
 @(Html.Kendo()
                  .ComboBox()
                  .HtmlAttributes(new { style = "width: 900px" })
                  .Name("cbTscmis")
                  .Filter(FilterType.StartsWith)
                  .MinLength(3)
                  .Suggest(true)
                  .HighlightFirst(true)
                  .DataSource(source =>
                  {
                      source.Read(read =>
                      {
                          read.Action("_LoadTscmisData", "Event", new { area = "Event" });
                      }).ServerFiltering(true);
                  }))



//THE ACTION METHOD
public ActionResult _LoadTscmisData(string text)

//THE ERROR WHE THE PAGE LOADS
Object doesn't support property or method 'requestData'

2 Answers, 1 is accepted

Sort by
0
Georgi Krustev
Telerik team
answered on 27 Jul 2012, 04:09 PM
Hello Benjamin,

 
I suppose that you missed to included the kendo.aspnetmvc.js file to the page. Check this tutorial for more information.

Regards,
Georgi Krustev
the Telerik team
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
0
Ryan Lege
Top achievements
Rank 1
answered on 06 Aug 2012, 06:34 AM
That worked! Trying to remember every js file and the proper order is tedious!
Tags
ComboBox
Asked by
Ryan Lege
Top achievements
Rank 1
Answers by
Georgi Krustev
Telerik team
Ryan Lege
Top achievements
Rank 1
Share this question
or