Empty URL for SitemapNode in the Treeview for dotnet 2.0

  • Thread starter Thread starter martinalmroth
  • Start date Start date
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.
 
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.
 
Back
Top