Hi,
I am using Q2 2009 version. I am displaying one pop up. In that pop up, there is a Save button When i click on the save button, i am inserting content in to the editor through JavaScript.
Editor is in the parent window.
Here is the code which i have written in the Pop up window.
var editor=window.opener.document.getElementById("ctl00_ContentPlaceHolder1_RadTxtCheifComplaint"); // Editor id
editor.innerHTML= someText; // Inserting text from pop up window.;
window.close();
When the popup close.Text insert in to the Editor and Editor display in the Preview mode instead of design mode. i want t dispaly in the design mode. How to set Design mode of editor from javascript.
Please give me the solutions ASAP.
Regards
Rahul
I am using Q2 2009 version. I am displaying one pop up. In that pop up, there is a Save button When i click on the save button, i am inserting content in to the editor through JavaScript.
Editor is in the parent window.
Here is the code which i have written in the Pop up window.
var editor=window.opener.document.getElementById("ctl00_ContentPlaceHolder1_RadTxtCheifComplaint"); // Editor id
editor.innerHTML= someText; // Inserting text from pop up window.;
window.close();
When the popup close.Text insert in to the Editor and Editor display in the Preview mode instead of design mode. i want t dispaly in the design mode. How to set Design mode of editor from javascript.
Please give me the solutions ASAP.
Regards
Rahul