Hi, everyone.
The trouble is that I can't read the .Text value from the instance of HtmlEditor on my page.
The code inside the ASP page (.ascx file) is
<%@ Register TagPrefix="dnn" TagName="TextEditor" Src="~/controls/texteditor.ascx" %>
...
OnItemInserting="FormView1_ItemInserting" OnItemInserted="FormView1_ItemInserted">
...
...
<dnn:TextEditor ID="teMessage" runat="server" Width="550" DefaultMode="Rich" Height="350" ChooseMode="False" >
...
This tag is inside the FormView template, and I'm trying to read the .Text property on FormView_Inserting(...) - its empty. Also I tried to catch this property on InsertButton_Click (...) event - the same. But this occures only if HtmlEditor is in RichText mode. When switching it to simple Text mode, the trouble disapears and I can read .Text property inside both events.
Can anyone tell me what is wrong in my code?
Thanx.