I found somethng in an old code I wrote some years ago:
protected override void OnPreRender(EventArgs e)
{
ModuleContext.Configuration.ModuleTitle = Localization.GetString("Whatever", LocalResourceFile);
base.OnPreRender(e);
}
I am sure that worked at the time I wrote it, but it does not anymore. I tried to use this instead of the code above:
protected override void OnPreRender(EventArgs e)
{
ModuleContext.Configuration.ModuleControl.ControlTitle = Localization.GetString("Whatever", LocalResourceFile);
base.OnPreRender(e);
}
No luck. Anyone who can bring light into the darkness? Is it a bug?
Happy DNNing!
Michael