Revision History Code problem
This code is throwing null in the page revision viewer...
SiteMapBase.GetActualCurrentNode()Hi Steve,
Here's what you can do to check if you are previewing a version node:
if ( HttpContext.Current.Items["versionpreview"] != null && (bool)HttpContext.Current.Items["versionpreview"] != true) var node = SiteMapBase.GetActualCurrentNode(); this check is helpful to prevent the call to GetActualCurrentNode() returning null, but is there a way to actually determine the current pagenode from the version manager preview?