XsltDb packager oddity

Apr 20, 2011 at 12:57 PM


I'm performing some tests with the packaging function, and have a problem: any call to mdo:iseditable returns false when using a packaged module, while it works correctly when running a normal xsltdb module (not packaged).

Looking at the code, I see iseditable does:

 ModuleInfo mi = transformer.DnnSettings.M;
            if (mi == null) return false; // XsltDb as a UserControl has no module context

That is: no module context available with my packaged module.

Isn't it possible to force it to load my module context? Otherwise how could I perform such a check?

Thank you,