Get nodes based on current page's controller

Mar 29, 2011 at 12:24 AM

I have a menu which is generated from the V2 MVCSiteMap. I would like to only display the nodes based on the current page's controller.

I have tried FindSiteMapNode and passed in the httpcontext but that is for the current page only. I want something similar but for the context to be that of the controller. Any ideas?