More in this section
Forums / Bugs & Issues / Not able to access MVC @Html helper class functions in View

Not able to access MVC @Html helper class functions in View

The forums are in read-only mode. In case that you want to directly contact the Progress Sitefinity team use the support center. In our Google Plus group you can find more than one thousand Sitefinity developers discussing different topics. For the Stack Overflow threads don’t forget to use the “Sitefinity” tag.
2 posts, 0 answered
  1. Tawhid
    Tawhid avatar
    1 posts
    Registered:
    08 Apr 2008
    18 Aug 2015
    Link to this post

    Hi,

    I am working on developing custom widgets using MVC 5 and VS 2015. I am using Sitefinity version 8.0.  I am referring the link below to create the basic MVC widget

    http://docs.sitefinity.com/for-developers-create-the-view

    But I am not able to access my model in View and none of the @Html helper class functions are working in the view.

    Please do let me know what am I doing wrong? 

    Please be noted that I am using the same controller and Model as mentioned in the link http://docs.sitefinity.com/for-developers-create-the-view

    Please let me know if VS 2015 can be used and is supported for Sitefinty development

  2. RJ Cuthbertson
    RJ Cuthbertson avatar
    41 posts
    Registered:
    01 Jun 2015
    18 Aug 2015
    Link to this post

    Often this occurs when the web.config file in your Views folder is missing (there are two in MVC projects by default: one at the root and one in the Views folder). Do you have this?

2 posts, 0 answered