The presented sample will function properly only under Internet Explorer as the other browsers do not support the innerText
property. To ensure that the content of the RadEditor is retrieved successfully, please use either the control's client method get_text()
to get the content as a plain text or get_html(true)
to return the editor content as HTML (If the bool parameter is set to true, the returned HTML content will be modified by the RadEditor client filters).
Note that the RadWindow control doesn't support setting its content on the client-side. Even if it functions as expected in the example, there are cases in which the content will not be persisted due to moving the RadWindow in the DOM. Please prepare and send a sample, fully runnable page
, which isolates your scenario, so that we can examine it locally and suggest a concrete solution.
the Telerik team
If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to their blog feed