I have a problem with the DNN:TextEditor control.
I am trying using in the settings part of my module. I need it so that I can make a template for a mail to be uses my by module.
The problem is that when I click the update key in the settingspage only the text that I passed to the control in the LoadSettings is in the textbox. Here is the code for the LoadSettings:
|
}
if
(Page.IsPostBack == false)
{
if ((string)TabModuleSettings["MailBody"] != null)
{
if ((string)TabModuleSettings["MailBody"] != "")
{
teMailBody.Text = "Test";
}
else {
teMailBody.Text = "Test";
}else
{
teMailBody.Text =
"Skriv en tekst";
} |
Can someone please help me, I have absolute no hair back on my head. Why is the new text that I enter not in the Text property but only the preliminary text.
/Peter