简体   繁体   English

如何在asp.net(c#)中使用“#”获取完整的URL

[英]how to get full url with '#' in asp.net (c#)

How can I get the full URL with # in ASP.NET? 如何在ASP.NET中使用#获取完整的URL?

I want to get it with # part, this is the important part for me. 我想用#部分来获取它,这对我来说是重要的部分。

Any ideas, please? 有什么想法吗?

URL片段(#后面的部分)没有发送到服务器,因此您将需要使用JavaScript来获取它。

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

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