How to access web page hierarchy inside a application.

Posted by Hazior on Stack Overflow See other posts from Stack Overflow or by Hazior
Published on 2010-03-08T14:47:12Z Indexed on 2010/03/08 14:51 UTC
Read the original article Hit count: 125

Filed under:
|
|

Trying to figure out how to programmatically access the web pages in the application. Just something simple like a list of them would be awesome. I know I can create a list but I was wondering if there was something that could 'look' at the pages and add a new one to the list if you make a new page for the application.

Example with 7 pages:

 Error
 Default
 Login
 Content
 Users
 ContactUs
 Admin

I am half awake so I may be a little unclear. Maybe puting it all in a single question will be easier.

How do you autogenerate a list of all webpages in your current application?

© Stack Overflow or respective owner

Related posts about ASP.NET

Related posts about c#