SiteMapNode Parameter Question

B

Big Chodder

Hi

I have created a custom SQL SiteMapProvider. I need to localize this
and was hoping to do so in the same way I have localized the content
for the rest of the site.

When I dynamically add my nodes i first create a new node using the
following constructor

public SiteMapNode (
SiteMapProvider provider,
string key,
string url,
string title,
string description,
IList roles,
NameValueCollection attributes,
NameValueCollection explicitResourceKeys,
string implicitResourceKey

as is found here:
http://msdn2.microsoft.com/en-us/library/ms150104.aspx

Ideally I want to declare my resource keys explicitly. Using the
XmlProvider this value is set in the "title" as a value inside the
title atttribute. I dont think the same would be the case here as the
title is seperate. So does anyone know what key/values pairs neeed to
be passed as a NameValueCollection into the explicitResourceKeys
parameter to get this to work. I have tried all the obvious
combinations and noe seem to work.

Thanks in advance to anyone that can help me.

The Big Chod
 

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

No members online now.

Forum statistics

Threads
473,766
Messages
2,569,569
Members
45,043
Latest member
CannalabsCBDReview

Latest Threads

Top