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,
NameValueCollec tion attributes,
NameValueCollec tion explicitResourc eKeys,
string implicitResourc eKey
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 NameValueCollec tion into the explicitResourc eKeys
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