Problems with Page Links

Topics: ASP.NET 2.0, Controls, Themes
May 1, 2012 at 1:45 PM

After endless problems trying to create a separate home page, I gave up and set the blog as my home page with an introductory panel at top.

I just created a new page in VS 2010 and when on a blog post, the link to this is broken.

Working, home page navigation link to new page:

http://localhost/AnthonyGrace2/services.aspx

Broken, post link to new page:

http://localhost/AnthonyGrace2/post/2012/04/29/services.aspx

How do I resolve the broken link from the post pages?

 

 

May 1, 2012 at 2:02 PM

Cannot find option to delete my question??

Solution was to use:

<li><a href="<%=Utils.AbsoluteWebRoot %>services.aspx">Services</a></li>

instead of:

<li><a href="services.aspx">Services</a></li>

Coordinator
May 1, 2012 at 3:14 PM

You can keep your question there.. it might help the next guy!  Thanks for posting it.