开发者

Determining Razor Web Page Hierarchy

I have a custom view page class in an ASP.NET Razor web site (not MVC). What I need to be able to do i开发者_运维问答s determine the child pages that are within the parent page. Is there any way to determine this?

Thanks


I don't know if this can be used, but you might be able to.

var pageHierachy = HttpContext.Current.Request.Path;

It will get the path of the page you're currently on. You might be able to play around with it to make it do exactly what you want it to.

Good luck :)

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜