This is a migrated thread and some comments may be shown as answers.

how to get the radeditor content as an image?

1 Answer 55 Views
Editor
This is a migrated thread and some comments may be shown as answers.
Tirumalesh
Top achievements
Rank 1
Tirumalesh asked on 19 Jan 2012, 06:27 AM
I have a radeditor,in that i have spans and a background image.I have some html input textboxes,on text changed of the textboxes,i'm binding the text to particular spans like:
<script>
 function txtTitlechanged(x) {
            var y = document.getElementById(x).value
            var editor = $find("<%=RadEditor1.ClientID %>");
            var oDocument = editor.get_document()
            var img = oDocument.getElementById('span1');


            if (y == '') {
                img.innerHTML = 'UserName';
            }
            else {
                img.innerHTML = y;
            }
        }
</script>

<input type='text' onchage="txtTitlechanged" />


Here i want that radeditor content as an image,i'm getting the radeditor content as html,but i want as it as an image.

1 Answer, 1 is accepted

Sort by
0
Rumen
Telerik team
answered on 19 Jan 2012, 07:17 PM
Hello,

Please, refer to the following forum thread on the topic: Export to Image.

All the best,
Rumen
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 now
Tags
Editor
Asked by
Tirumalesh
Top achievements
Rank 1
Answers by
Rumen
Telerik team
Share this question
or