One thing I've used a lot in my custom modules (which worked great in DNN3 but now I'm having issues with in DNN4) is having a module splash screen in Settings. I put a DNN TextEditor control in the Module Settings so admin can update it. The text of the TextEditor is saved in the TabModuleSettings using UpdateTabModuleSetting(). Unfortunately, I cannot get the text of the TextEditor to save now (it always comes up blank). The other controls (simple textboxes and checkboxes) all work fine using the same method but this Texteditor control text won't save and is always coming up blank. Here is the relevant code which works for other controls just not this texteditor for some reason. The module cache is set to 0 by the way. Thanks greatly if somebody can point out what changed with .NET 2.0 or DNN4 to make this not work anymore...
Settings.ascx
<%@ Register TagPrefix="dnn" TagName="TextEditor" Src="~/controls/TextEditor.ascx"%>
<dnn:texteditor id="UnitInfoTemplate" runat="server" Width="100%" Height="300 px"></dnn:texteditor>
Settings.ascx.vb
In the LoadSettings() I have:
If Not IsDBNull(TabModuleSettings("UnitInfo")) Then
UnitInfoTemplate.Text = CType(TabModuleSettings("UnitInfo"), String)
Else
UnitInfoTemplate.Text = ""
End If
In the UpdateSettings() I have this line which SHOULD store the text:
objModules.UpdateTabModuleSetting(TabModuleId, "UnitInfo", UnitInfoTemplate.Text.Trim)