RE: parser error on menu control
am 19.12.2007 06:07:00 von MohamadElarabiI'm assuming you're using an
DataSource for your
As for this error "Error parsing control: A relative URI Cannot be created
because the 'uristring' parameter represents an absolute URI" I think the
reason for this is because, most likely the URL attribute on the
SiteMapNode(s) in your sitemap file are absolute URLs as in
"http://myDomain/default.aspx" instead or relative URLs such as
"default.aspx" or "Admin/default.aspx" etc. Having http://... probably works
fine but perhaps not in design view.
If you're not getting other items on the same level as home do the following:
in the web.sitemap file surround your existing
another siteMapNode that is blank. Your Sitemap file should look something
like this:
After doing that go to your
ShowStartingNode="false" to it. so that the tag would look something like
this:
And hopefully that helps.
If you're not getting link names or titles you must populate the Title=""
attribute for each siteMapNode in your siteMap file.
If you continue to have problems it would help me answer your question
better if you could post your
tag you're using. It would also help if you can post a small part of your
sitemap file.
Good luck.
--
Mohamad Elarabi
Lead Developer. MCTS, MCPD.
"Sandy Ryan" wrote:
> i'm accessing an xml sitemap
> and my menu control states (in the design view)
> "Error parsing control: A relative URI Cannot be created because the
> 'uristring' parameter represents an absolute URI.
> also note when i run the page - i get the HOME link and the sub levels - but
> not the items on the same level as home - (get the boxes but no links or
> labels)
> thanks