简体   繁体   English

如何在 ASP.NET Core 中的(有吸引力的报告)Fastreport.NET 中设置指向当前请求路径的超链接

[英]How to set hyperlink to current request path in (intractive report) Fastreport.NET in ASP.NET Core

I use Fastreport.NET (Core) and create a interactive report with hyperlink to another page (at the same report) and it is work in designer but it isn't work on web ( ASP.NET Core - MVC).我使用 Fastreport.NET (Core) 并创建一个带有指向另一个页面的超链接的交互式报告(在同一个报告中),它在设计器中工作,但它不适用于 web(ASP.NET Core - MVC)。 Actually first page hyperlink refer to "localhost:51154/#" instead of "localhost:51154/Admin/FastWage#"实际上第一页超链接是指“localhost:51154/#”而不是“localhost:51154/Admin/FastWage#”

How can i solve it?我该如何解决?

The problem was solved in view (_Layout.cshtml) the front-end developer used问题在前端开发者使用的视图(_Layout.cshtml)中解决了

<base href="../../../">

and because of that the hypelink change to localhost并且正因为如此,超链接更改为 localhost

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

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