xiecs
03-21-2010, 03:11 PM
1) Script Title: Bullet List Accordion menu
2) Script URL (on DD): http://www.dynamicdrive.com/dynamicindex17/ddaccordionmenu-bullet.htm
3) Describe problem:
I am using Visual Studio 2008 .NET Framework 3.5 SP1 and ASP.NET 3.5.
I have successfully installed the necessary elements for the menu and it works fine. However, there is a problem generating the URLs when I am testing it in development. My list items are as follows:
<li><a href="Folder/Page1.aspx">Title1</a></li>
<li><a href="Folder/Page2.aspx">Title2</a></li>
When I run my web site and choose either menu item, I get the right page displayed. If I then choose the other menu item, I get a 404 error. This is because the menu code is generating the wrong URL, as follows.
If I choose to display in the order above, instead of generating the correct URL for Page2, thus
/WebSite/Folder/Page2.aspx
it is generating
/WebSite/Folder/Folder/Page2.aspx
Is this a known problem with a fix?
2) Script URL (on DD): http://www.dynamicdrive.com/dynamicindex17/ddaccordionmenu-bullet.htm
3) Describe problem:
I am using Visual Studio 2008 .NET Framework 3.5 SP1 and ASP.NET 3.5.
I have successfully installed the necessary elements for the menu and it works fine. However, there is a problem generating the URLs when I am testing it in development. My list items are as follows:
<li><a href="Folder/Page1.aspx">Title1</a></li>
<li><a href="Folder/Page2.aspx">Title2</a></li>
When I run my web site and choose either menu item, I get the right page displayed. If I then choose the other menu item, I get a 404 error. This is because the menu code is generating the wrong URL, as follows.
If I choose to display in the order above, instead of generating the correct URL for Page2, thus
/WebSite/Folder/Page2.aspx
it is generating
/WebSite/Folder/Folder/Page2.aspx
Is this a known problem with a fix?