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 :)
精彩评论