Hi,
On a DW8 v8.1.2.0 solution I have a usercontrol that I try to get loaded:
namespace CustomModules.ModuleName
{
[AddInName("MyCustomModule")]
public class MyCustomModule : Dynamicweb.ContentModule
{
public override string GetContent()
{
return "<!--@LoadControl(/MyCustomModuleControl.ascx)-->";
}
}
}
But the DW does not output my usercontrol (/MyCustomModuleControl.ascx). Instead it outputs the tag: <!--@LoadControl(/MyCustomModuleControl.ascx)-->
Any idea why this is not working?