According to these two articles, Sandboxing supports 'Navigation'--
http://www.chakkaradeep.com/post/SharePoint-2010-Sandboxed-Solutions.aspx
But when I try to implement a simple line of code in a sandboxed web part..
try
{
SiteMapNode node = PortalSiteMapProvider.CurrentNavSiteMapProvider.RootNode;
Controls.Add(new Literal
{
Text = node.Title
});
}
catch (Exception ex)
{
throw ex;
}
..I get this error: "The provider 'AspNetXmlSiteMapProvider' specified for the defaultProvider does not exist in the providers collection."
I haven't touched the OOTB web.config file, for '<'providers'>' or anything
I don't get the error if I deploy the exact same project as a Farm solution.
MSDN doesn't say anything about Navigation components -- http://msdn.microsoft.com/en-us/library/gg615464.aspx