how to get the radeditor content as an image?

2 posts, 0 answers
  1. Tirumalesh
    Tirumalesh avatar
    23 posts
    Member since:
    Aug 2011

    Posted 19 Jan 2012 Link to this post

    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.
  2. Rumen
    Admin
    Rumen avatar
    14459 posts

    Posted 19 Jan 2012 Link to this post

    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
Back to Top