Hello,
I'm using RadEditor in my user control. my user control is rendered in a place holder control of Parent page dynamically.
i have one default.aspx page. from that one child rad window is opening called template list. from that template list i'm opening my send email radwinow. Send email winodow contains radeditor in user control. From Send Email window i'm opening i'm opening 3rd Child Radwindow for some more body text.
i mean i already have content in my radeditor and i want to append more content from 3rd child window.
i'm following the instructions of the thread to refresh the parent window.
http://demos.telerik.com/aspnet-ajax/window/examples/dialogreturnvalue/defaultcs.aspx
i have written below function in my 2nd window.
function
refreshEditorTest(arg)
{
//Append user controls radeditor content with arg
var editor = GetRadEditor("<%=RadEditor1.ClientID%>"); |
var content = editor.GetHtml(); editor.SetHtml = Content + "<br/>" + arg; |
}
but i'm getting editor object as null.
can you help me how can i update the content of radeditor of user control from parent window.
please suggest some solution.
Thanks
Sweta