MVC错误中的Renderpage() [英] Renderpage() in MVC error

查看:234
本文介绍了MVC错误中的Renderpage()的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述





尝试在visual studio,MVC项目中使用Renderpage()时出现此错误



(当前上下文中不存在RenderPage)



很明显我必须在(使用)添加文件的DLL,但不能找出哪个文件?



Thanx



我尝试了什么:



尝试找到该文件但没有用。

解决方案

参见ASP.NET MVC 3 Razor语法 - RenderBody,RenderPage和RenderSection | DotNetCurry [ ^ ]。

Hi

I am getting this error when trying to use Renderpage() in visual studio , MVC project

( RenderPage does not exist in the current context )

Its clear that I have to add a DLL of a file at ( using ) , but can not figure out which file ?

Thanx

What I have tried:

tried finding the file but did not work .

解决方案

See ASP.NET MVC 3 Razor Syntax - RenderBody, RenderPage and RenderSection | DotNetCurry[^].


这篇关于MVC错误中的Renderpage()的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆