I'm attempting to implement a custom SiteMapNodeModel template. I took SiteMapNodeModel and cloned it to CompleteSiteMapNodeModel. Then I changed my call from Html.DisplayFor(m=>node.Children) to Html.DisplayFor(m=>node.Children,"CompleteSiteMapNodeModel")
and get the following error:
The model item passed into the dictionary is of type 'MvcSiteMapProvider.Web.Html.Models.SiteMapNodeModelList', but this dictionary requires a model item of type 'MvcSiteMapProvider.Web.Html.Models.SiteMapNodeModel'.
Weird part is CompleteSiteMapNodeModel is an exact (except for name) clone of SiteMapNodeModel.
Any idea where I went wrong?