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

HtmlHelpers work fine, but no Intellisense - How to fix?

0 Answers 383 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Jay
Top achievements
Rank 1
Jay asked on 02 Jun 2012, 06:42 PM
I've followed the directions from the ASP.NET MVC Documentation page and am using the sample dropdownbox as a test for beginning working with it in my app.  Using this code:

@(Html.Kendo().DropDownList()
          .Name("color")
          .DataTextField("Text")
          .DataValueField("Value")         
          .BindTo(new List<SelectListItem>() {
              new SelectListItem() {
                  Text = "Black",
                  Value = "1"
              },
              new SelectListItem() {
                  Text = "Orange",
                  Value = "2"
              },
              new SelectListItem() {
                  Text = "Grey",
                  Value = "3"
              }
          })
          .Value("1")
    )

The extensions work perfectly.  The Kendo UI dropdown box renders as expected (once I removed the event part of the chain).  However, I can't seem to get Intellisense working correctly.  VS2010 doesn't recognize the Kendo() extension to the HtmlHelper.  Any thoughts or help will be most appreciated.


UPDATE:  Reboot of VS2010 didn't help, but REBOOT OF PC WORKED!!  Intellisense is operational now.

No answers yet. Maybe you can help?

Tags
General Discussions
Asked by
Jay
Top achievements
Rank 1
Share this question
or