Empty URL for SitemapNode in the Treeview for dotnet 2.0

M

martinalmroth

I have made my own SiteMapProvider and it works fine if all the nodes
have a unique url.
My problem is that some nodes have no url, it is only a node that
groups the nodes in categories. When I have several of these category
nodes with no url I get an Stackoverflowexception in runtime. Is there
a workaround for this or have I implemented the SiteMapProvider wrong.

I have developed three different Providers (all of these are build on
examples that I have found in the groups or internet), all with the
same exception in runtime.

Have somebody managed to developed a provider for this or knows a
workaround, please post the solution or link....

Thanks.
 
M

martinalmroth

I have made a workaround for this.

I set the same url to all nodes with the node id as a parameter.
The page works as an eventhandler and load the information or do a
redirect or dont do anything.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,769
Messages
2,569,578
Members
45,052
Latest member
LucyCarper

Latest Threads

Top