Home Search Member List Faq Register Login  
UltimateSitemap
Re: UltimateSitemapPath not visible

Thread Starter: cravr   Started: 02-01-2006 12:03 AM   Replies: 6
 Karamasoft Support Forums » General Discussions » UltimateSitemap » Re: UltimateSitemapPath not visible
 Printable Version    « Previous Thread   Next Thread »
  01 Feb 2006, 12:03 AM
cravr is not online. Last active: 2/1/2006 3:21:42 PM cravr

Top 10 Posts
Joined on 01-31-2006
Posts 4
UltimateSitemapPath not visible
I've no doubt missed something fairly basic here ....
I have added a sitemap to an aspx page in the main frame of my project, and assigned an xml sitemap file to it ... lists and navigates fine

I've also added UltimateSitemapPath controls to each aspx form of the project, assigning the same xml file as the sitemap.

I cannot get anything to display on any of the UltimateSitemapPath controls. I have also tried  assigning css classes using your sitemappath demo project with the styles added in-line.

The sitemap is shown below... I'm unsure if I need to include "?NodeID=Node1" etc, however it makes little difference.

Thanks again for your time
Ron

<siteMap>
    <siteMapNode nodeID="Node1" title="Home" url="~/main.aspx?NodeID=Node1">
        <siteMapNode nodeID="Node2" title="Plans" url="~/plans.aspx?NodeID=Node2">
            <siteMapNode nodeID="Node3" title="Site Hosting" url="./plans_site.aspx?NodeID=Node3"/>
            <siteMapNode nodeID="Node4" title="Colocation" url="./plans_colo.aspx?NodeID=Node4"/>
            <siteMapNode nodeID="Node5" title="Dedicated Servers" url="./plans_dedi.aspx?NodeID=Node5"/>
        </siteMapNode>
        <siteMapNode nodeID="Node11" title="Plansasa" url="~/plans.aspx?NodeID=Node11">
      <siteMapNode nodeID="Node12" title="Site Hosting" url="./plans_site.aspx"/>
      <siteMapNode nodeID="Node13" title="Colocation" url="./plans_colo.aspx"/>
      <siteMapNode nodeID="Node14" title="Dedicated Servers" url="./plans_dedi.aspx"/>
        </siteMapNode>
        <siteMapNode nodeID="Node6" title="Login" url="~/account.aspx?NodeID=Node6"> </siteMapNode>
        <siteMapNode nodeID="Node16" title="Contact" url="~/contact.aspx?NodeID=Node16"> </siteMapNode>
        <siteMapNode nodeID="Node26" title="Site Map" url="./sitemap.aspx?NodeID=Node26"> </siteMapNode>
  </siteMapNode>
</siteMap>

  
  01 Feb 2006, 9:02 AM
Karamasoft is not online. Last active: 5/8/2018 10:36:45 AM Karamasoft

Top 10 Posts
Joined on 09-05-2004
Posts 6,820
Re: UltimateSitemapPath not visible
You may need to send us your aspx page so that we can see your control settings.
  
  24 Aug 2006, 7:13 PM
Bugster is not online. Last active: 8/22/2011 6:54:32 PM Bugster

Top 10 Posts
Joined on 08-25-2006
Posts 9
Re: UltimateSitemapPath not visible
I'm having the same problem. I'm using the trial version and the control is on a masterpage. I'm not sure if that makes a difference.
  
  25 Aug 2006, 3:14 PM
Karamasoft is not online. Last active: 5/8/2018 10:36:45 AM Karamasoft

Top 10 Posts
Joined on 09-05-2004
Posts 6,820
Re: UltimateSitemapPath not visible
If you send us your web app in zipped form we will try to reproduce the problem in our test environment.
  
  08 Feb 2008, 11:36 AM
LL20 is not online. Last active: 5/12/2008 6:23:32 PM LL20

Not Ranked
Joined on 02-08-2008
Posts 2
Re: UltimateSitemapPath not visible
Wow.. I'm having the same problem as well. It's been a couple years since this post, was wondering if anyone's found anything yet?

It works okay when using NodeMatch=CurrentNodeID, but not when using PathAndQuery and AbsolutePath. I have all my pages of my website clustered in different parallel sub directories (../fitness/fitness.aspx and ../health/health.aspx and etc)

You know what would be really grand? If the SiteMapPath could use the UltimateMenu's XML source so I don't have to build my navigation tree a second time.

Here's my code:

<
smp1:ultimatesitemappath id="usp" runat="server" Bitmap="UltimateSitemapPath.bmp" NodeMatch="AbsolutePath" SitemapSource="../data/PathStyle.sitemap"></smp1:ultimatesitemappath>

pathstyle.sitemap:

<?xml version="1.0" encoding="utf-8"?>

<!-- PathSelection Sitemap Source XML File -->

<siteMap>

<siteMapNode nodeID="Node1" title="Home" url="~/Samples/SitemapPath/PathFeature/PathSelection/PathSelection.aspx?NodeID=Node1">

<siteMapNode nodeID="Node2" title="Products, Solutions and Services" url="~/Samples/SitemapPath/PathFeature/PathSelection/PathSelection.aspx?NodeID=Node2">

<siteMapNode nodeID="Node3" title="Business Index" url="~/Samples/SitemapPath/PathFeature/PathSelection/PathSelection.aspx?NodeID=Node3">

</siteMapNode>

<siteMapNode nodeID="Node4" title="Consumer" url="~/Samples/SitemapPath/PathFeature/PathSelection/PathSelection.aspx?NodeID=Node4">

</siteMapNode>

<siteMapNode nodeID="Node5" title="Buy from Us" url="~/Samples/SitemapPath/PathFeature/PathSelection/PathSelection.aspx?NodeID=Node5">

</siteMapNode>

</siteMapNode>

<siteMapNode nodeID="Node6" title="Investor Relations" url="~/Samples/SitemapPath/PathFeature/PathSelection/PathSelection.aspx?NodeID=Node6">

<siteMapNode nodeID="Node7" title="Key Information" url="~/Samples/SitemapPath/PathFeature/PathSelection/PathSelection.aspx?NodeID=Node7">

<siteMapNode nodeID="Node8" title="Company Structure" url="~/Samples/SitemapPath/PathFeature/PathSelection/PathSelection.aspx?NodeID=Node8">

</siteMapNode>

<siteMapNode nodeID="Node9" title="Key Figures" url="~/Samples/SitemapPath/PathFeature/PathSelection/PathSelection.aspx?NodeID=Node9">

</siteMapNode>

<siteMapNode nodeID="Node10" title="Shareholder Structure" url="~/Samples/SitemapPath/PathFeature/PathSelection/PathSelection.aspx?NodeID=Node10">

</siteMapNode>

</siteMapNode>

<siteMapNode nodeID="Node11" title="Financial Reports" url="~/Samples/SitemapPath/PathFeature/PathSelection/PathSelection.aspx?NodeID=Node11">

<siteMapNode nodeID="Node12" title="Financial Reports 2004" url="~/Samples/SitemapPath/PathFeature/PathSelection/PathSelection.aspx?NodeID=Node12">

</siteMapNode>

<siteMapNode nodeID="Node13" title="Financial Reports 2003" url="~/Samples/SitemapPath/PathFeature/PathSelection/PathSelection.aspx?NodeID=Node13">

</siteMapNode>

<siteMapNode nodeID="Node14" title="Financial Reports 2002" url="~/Samples/SitemapPath/PathFeature/PathSelection/PathSelection.aspx?NodeID=Node14">

</siteMapNode>

</siteMapNode>

</siteMapNode>

<siteMapNode nodeID="Node15" title="About Us" url="~/Samples/SitemapPath/PathFeature/PathSelection/PathSelection.aspx?NodeID=Node15">

<siteMapNode nodeID="Node16" title="Key Information" url="~/Samples/SitemapPath/PathFeature/PathSelection/PathSelection.aspx?NodeID=Node16">

<siteMapNode nodeID="Node17" title="Key Figures" url="~/Samples/SitemapPath/PathFeature/PathSelection/PathSelection.aspx?NodeID=Node17">

</siteMapNode>

<siteMapNode nodeID="Node18" title="Company Structure" url="~/Samples/SitemapPath/PathFeature/PathSelection/PathSelection.aspx?NodeID=Node18">

</siteMapNode>

<siteMapNode nodeID="Node19" title="Managing Board" url="~/fitness/fitness.aspx">

</siteMapNode>

<siteMapNode nodeID="Node20" title="Supervisory Board" url="~/Samples/SitemapPath/PathFeature/PathSelection/PathSelection.aspx?NodeID=Node20">

</siteMapNode>

</siteMapNode>

<siteMapNode nodeID="Node21" title="Our Businesses" url="~/Samples/SitemapPath/PathFeature/PathSelection/PathSelection.aspx?NodeID=Node21">

<siteMapNode nodeID="Node22" title="Automation and Control" url="~/Samples/SitemapPath/PathFeature/PathSelection/PathSelection.aspx?NodeID=Node22">

</siteMapNode>

<siteMapNode nodeID="Node23" title="Transportation" url="~/Samples/SitemapPath/PathFeature/PathSelection/PathSelection.aspx?NodeID=Node23">

</siteMapNode>

<siteMapNode nodeID="Node24" title="Medical" url="~/Samples/SitemapPath/PathFeature/PathSelection/PathSelection.aspx?NodeID=Node24">

</siteMapNode>

<siteMapNode nodeID="Node25" title="Affiliates" url="~/Samples/SitemapPath/PathFeature/PathSelection/PathSelection.aspx?NodeID=Node25">

</siteMapNode>

</siteMapNode>

</siteMapNode>

<siteMapNode nodeID="Node26" title="Contact Us" url="~/Samples/SitemapPath/PathFeature/PathSelection/PathSelection.aspx?NodeID=Node26">

</siteMapNode>

</siteMapNode>

</siteMap>


  
  08 Feb 2008, 7:48 PM
Karamasoft is not online. Last active: 5/8/2018 10:36:45 AM Karamasoft

Top 10 Posts
Joined on 09-05-2004
Posts 6,820
Re: UltimateSitemapPath not visible
Our live sample at http://www.karamasoft.com/UltimateSitemap/Samples/SitemapPath/PathFeature/PathSelection/PathSelection.aspx?NodeID=Node8 seems to be working fine. Please read the explanation right next to the "NodeMatch" dropdown. If the problem persists you may send us your app so that we can take alook into the problem in our test environment.
  
  20 Feb 2008, 11:41 AM
LL20 is not online. Last active: 5/12/2008 6:23:32 PM LL20

Not Ranked
Joined on 02-08-2008
Posts 2
Re: UltimateSitemapPath not visible

I found the problem!
In all the samples' xml data source, paths are with a tilde e.g. ~/path/path/file.aspx. In certain situations, the data source has to refer to paths with out the tilde e.g. /path/path/file.aspx.

My view of the sitemap is that I don't want all my pages called with a NodeID variable. I have automatic forwarding and that's just setting me up for failure. The way to go is
NodeMatch="PathAndQuery". That way sitemappath looks at the page that is loaded and matches that to the path in the xml data source. I set that up and ran it via VS.NET and it worked with the ~ no problem at all. Beautifully. But when I upload the exact same example to a CO-LO and run it via url, the sitemappath disappears. Gone Poof Vanished. So, by replacing the ~ with nothing, it works again.

I wasted two whole days trying to figure this out. Hopefully this helps someone.


  
 Page 1 of 1 (7 items)
Karamasoft Support Forums » General Discussions » UltimateSitemap » Re: UltimateSitemapPath not visible

You can add attachments
You can post new topics
You can reply to topics
You can delete your posts
You can edit your posts
You can create polls
You can vote in polls
Forum statistics are enabled
Forum is unmoderated

© 2002-2018 Karamasoft LLC. All rights reserved.