Hello
If you want reproduce the bug, you must to add a RadEditor in the RadWindow.
When you get the content of the radeditor1 with your javascript we have Two <br/>
And in the Radeditor2 we Have on <br/>
You can see to choose HTML view.
I don't attach files on the thread but i can you send by mail a webform test.aspx
You see the code html on follow.
You see the code CS on follow :
If you want reproduce the bug, you must to add a RadEditor in the RadWindow.
When you get the content of the radeditor1 with your javascript we have Two <br/>
And in the Radeditor2 we Have on <br/>
You can see to choose HTML view.
I don't attach files on the thread but i can you send by mail a webform test.aspx
You see the code html on follow.
<form id="form1" runat="server"> <div> <asp:ScriptManager ID="Sc1" runat="server"></asp:ScriptManager> <telerik:RadWindow ID="RadWindow1" Width="1000" Height="800" OnClientShow="OnClientShow" runat="server" VisibleOnPageLoad="true"> <ContentTemplate> <div id="editorWrapper" style="padding: 5px; display: none;"> RADEDITOR WITH JAVASCRIPT, See the HTML <telerik:RadEditor ID="RadEditor1" runat="server" height="200px"></telerik:RadEditor> </div> RADEDITOR WITHOUT JAVASCRIPT, See the HTML <telerik:RadEditor ID="RadEditor2" runat="server" height="200px"></telerik:RadEditor> <asp:button runat="server" ID="btn_save" Text="save" onclick="btn_save_Click"/> <asp:TextBox runat="server" ID="TextBox1" Width="150px"></asp:TextBox> <asp:TextBox runat="server" ID="TextBox2" Width="150px"></asp:TextBox> </ContentTemplate> </telerik:RadWindow> <script type="text/javascript"> function OnClientShow(sender, args) { // Fix the size problem in IE. var editorParent = $get('editorWrapper'); editorParent.style.display = ''; // Fixes the problem with the content area in FF and Safari var editor = $find('<%= RadWindow1.ContentContainer.FindControl("RadEditor1").ClientID %>'); editor.onParentNodeChanged(); var style = editor.get_contentArea().style; style.backgroundImage = "none"; style.backgroundColor = "white"; } </script> </div> </form>You see the code CS on follow :
public partial class test : System.Web.UI.Page { protected void Page_Load(object sender, EventArgs e) { this.RadEditor1.Content="hello 1"; this.RadEditor2.Content="hello 2"; this.TextBox1.Text = ""; this.TextBox2.Text = ""; } protected void btn_save_Click(object sender, EventArgs e) { this.TextBox1.Text = this.RadEditor1.Content; this.TextBox2.Text = this.RadEditor2.Content; } }