Hi,
I am implementing the RadEditor in RadWindow code example into my application. In your example you are only displaying one RadEditor that is on the Default.aspx page in the RadWindow. In my case I have 8 RadEditors on the same Default.aspx page and I need to display each of them in the same RadWindow, only one at a time of course. I will show you the code I am using below. Please assist.
DefaultCS.aspx:
function SetEditorContent(content)
{
$find("<%=MyRadEditorOnPage1.ClientID%>").set_html(content); //set content to RadEditor on the mane page from RadWindow
}
EditorInWindow.aspx
function setContent(content)
{
var editor = $find("<%= editor1.ClientID %>");
if (editor) editor.set_html(content);
}
How do I do this for MyRadEditorOnPage2 - 8? Would some kind of a switch() statment work?
Thanks,
I am implementing the RadEditor in RadWindow code example into my application. In your example you are only displaying one RadEditor that is on the Default.aspx page in the RadWindow. In my case I have 8 RadEditors on the same Default.aspx page and I need to display each of them in the same RadWindow, only one at a time of course. I will show you the code I am using below. Please assist.
DefaultCS.aspx:
function SetEditorContent(content)
{
$find("<%=MyRadEditorOnPage1.ClientID%>").set_html(content); //set content to RadEditor on the mane page from RadWindow
}
EditorInWindow.aspx
function setContent(content)
{
var editor = $find("<%= editor1.ClientID %>");
if (editor) editor.set_html(content);
}
How do I do this for MyRadEditorOnPage2 - 8? Would some kind of a switch() statment work?
Thanks,