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

Posted by Community Admin on 04-Aug-2018 00:32

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

All Replies

Posted by Community Admin on 18-Aug-2015 00:00

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

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 docs.sitefinity.com/for-developers-create-the-view

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

Posted by Community Admin on 18-Aug-2015 00:00

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?

This thread is closed