简体   繁体   English

从asp.net mvc项目链接到aspx页面

[英]Link to aspx page from asp.net mvc project

I have asp.net mvc project with razor views and i have in the same solution another project that is rendering (aspx) pages (reports and stuff) so i don't know how to call that page or show it inside view. 我有带有剃刀视图的asp.net mvc项目,并且在同一个解决方案中,我有另一个呈现(aspx)页面(报告和内容)的项目,所以我不知道如何调用该页面或在视图中显示它。 i have tryed with render action and link but it just can't be found. 我已经尝试了渲染操作和链接,但找不到。

It's just one aspx page inside other project so i have path like: /projectName/page.aspx Any help would save my day 这只是其他项目中的一个aspx页面,所以我有如下路径:/projectName/page.aspx任何帮助都会节省我的时间

If you have two web projects I suppose they have two iis mapping. 如果您有两个Web项目,我想他们有两个iis映射。 So calling from a site to another site you use href link, to render a page from another site the only thing I can think of is using iframe . 因此,您可以使用href链接从一个站点调用另一个站点,以呈现另一个站点的页面,我唯一想到的就是使用iframe

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM