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

Simple Question About Track Changes Page

1 Answer 43 Views
Editor
This is a migrated thread and some comments may be shown as answers.
İsyazilim
Top achievements
Rank 1
İsyazilim asked on 07 Jul 2010, 04:12 PM
Hi,
    How can i change texts ('Track Changes' to 'New Note') and ('Initial Content'-'Old Note') in track changes dialog.

    Thanks.

1 Answer, 1 is accepted

Sort by
0
Accepted
Rumen
Telerik team
answered on 07 Jul 2010, 05:04 PM
Hi Ugur,

You can change the Track Changes and Initial Content strings by registering the external dialog files of RadEditor and putting the JavaScript code below in the \EditorDialogs\TrackChangesDialog.ascx file:

<script type="text/javascript">
 
    setTimeout(function() {
        var legends = null;
 
        var theIframe = $get("responseIframe");
        if ($telerik.isIE) {
            legends = theIframe.contentWindow.document.getElementsByTagName("legend");
        }
        else {
            legends = theIframe.contentDocument.getElementsByTagName("legend");
 
        }
        legends[0].innerHTML = "Track Changes 123"
        legends[1].innerHTML = "Initial Content 123";
    }, 200);
     
</script>

For your convenience I have attached the modified TrackChangesDialog.ascx file.

Best regards,
Rumen
the Telerik team
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
Tags
Editor
Asked by
İsyazilim
Top achievements
Rank 1
Answers by
Rumen
Telerik team
Share this question
or