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

Calling DiffEngine from Javascript

1 Answer 44 Views
Editor
This is a migrated thread and some comments may be shown as answers.
Phillip
Top achievements
Rank 1
Phillip asked on 23 Mar 2011, 06:16 AM
Is it possible to call the diff engine from JavaScript.  I have looked across the forums and every example uses a postback.

Any example of how to do this would be great.

Thanks

1 Answer, 1 is accepted

Sort by
0
Dobromir
Telerik team
answered on 23 Mar 2011, 08:31 AM
Hi Phillip,

The DiffEngine is a helper class used for the TrackChanges dialog and it does not offer any client-side functionality. If you want to open the TrackChanges dialog you can use RadEditor's fire() client-side method:

var editor = $find("<%= RadEditor1.ClientID %>");
editor.fire("TrackChangesDialog");

If this is not the case, could you please provide more detailed information on what you want to achieve so we can try to provide a suitable solution?

All the best,
Dobromir
the Telerik team
Tags
Editor
Asked by
Phillip
Top achievements
Rank 1
Answers by
Dobromir
Telerik team
Share this question
or