I'm assuming that there is a recommended/preferred way of doing this so I thought I would ask. I'm looking for code snippets for each of the following cases:
1) Generate the URL for each of the pages set under Advanced Setttings Page Management, ie, for the "Splash Page", "Home Page", "Login Page", and "User Page" in a dynamic way that reflects the currently selected tabs as configured by the Site Admin.
2) Generate the URL for an arbitrarily named page from the list of named pages created for the Portal Site. So it should return the correct full URL for the page named "ThePage" where "ThePage" is one of the named pages configured in the list of pages for the site.
Thanks for the code snippets, or else the link to a discussion of this question. By the way, I looked in Professional DotNetNuke 4 but could not find anything in the book.