Hi Matt,
My suggestion is to programmatically switch to Design mode before submitting the content. Here is an example:
<telerik:RadEditor ID="RadEditor1" runat="server">
<asp:Button ID="Button1" runat="server" OnClientClick="SwitchEditor()" Text="Button" OnClick="Button1_Click" />
<asp:TextBox ID="TextBox1" runat="server" Height="127px" TextMode="MultiLine"></asp:TextBox>
<script type="text/javascript">
function SwitchEditor()
{
var editor = $find("RadEditor1");
editor.set_mode(1); //switch to Design mode
}
</script>
Codebehind:
protected void Button1_Click(object sender, EventArgs e)
{
TextBox1.Text = RadEditor1.Content;
}
Kind regards,
Rumen
the Telerik team
Check out
Telerik Trainer, the state of the art learning tool for Telerik products.