Hi all
Regarding the Attributes property of the SiteMapNode class. Quoting from the .NET library reference:
SiteMapNode remarks: "Finally, a NameValueCollection collection of additional Attributes attributes is available to site map providers that use SiteMapNode objects, but require additional properties that are not available in the base SiteMapNode class."
Attributes remarks: "The Attributes collection is typically used when you need to apply additional attributes to a site map node, but do not want to derive a custom class in order to do so."
.. Well and good. Actually, I need to access such additional attributes in my SiteMapNodes. And I would rather not have to derive a custom class. Only it transpires that the Attributes collection is protected. And hence available to derived classes only (barring reflection of course)! What gives? Is this simply a mistake by Microsoft or what?