Having widgets on different Master from root

Apr 22, 2009 at 6:15 PM
Hit a bit of a snag, and probably an obvious one but I'm a newb to most things dot.net!

Basically ive set up a blog in the root (not inside a subfolder), and got a handful of aspx pages in the root which arn't connected to the blog, with their own masterpage (also in the root).

However, i wanted to include the widgets onto these pages from this new masterpage, so what i did was copy some parts from the themes/../site.master and into this new masterpage on the root, essentially the following bits:

<%@ Import Namespace="blogEngine.core" %>

and into the body where I wanted the widgets:

<blog:WidgetZone runat="server" ID="rightzone" />

Now the widgets showed up fine when I view these pages, but I get an error and they cannot be edited. The error is something like: BlogEngine cannot be defined, or object expected. It obviously works fine when I go to the main blog page again