This is a very strange exception, since the standard ASP.NET class System.Web.SiteMap
contains a property RootNode
, you can see it in the .NET Framework API.
You said that it throws the error only in SiteMenu, SiteTabStrip and SiteTreeview user controls. We investigated those controls and found that SiteMap.RootNode is called directly in there code-behind files. So, is it possible that you have a class named SiteMap somewhere in your Web Site (i.e. in the
~/App_Code), and in the mentioned user controls your SiteMap
class is called instead of the standard System.Web.SiteMap
? Please check this out.
If the above is not the problem, please send us your project and we will investigate it for you.
the Telerik team