DocumentContentChanged event not firing

4 posts, 0 answers
  1. Jose Luis
    Jose Luis avatar
    3 posts
    Member since:
    Dec 2008

    Posted 21 Sep 2011 Link to this post


    We rely on the DocumentContentChanged event to know when the document has been modified. So far it has served well this purpose. Now, we allow the user to set table properties through the ShowTablePropertiesDialog method. When we change the "Spacing between cells" property and we close the dialog the change is applied to the table but the event doesn't fire.

    Is there some other way to be notified of changes in the document that takes into account this property change?

    Thank you very much.

    Version: Telerik RadControls for Silverlight 4 Q1 2011
  2. Boby
    Boby avatar
    586 posts

    Posted 23 Sep 2011 Link to this post

    Hi Jose Luis,
    We are aware of this issue. It has already been fixed in Q2 2011 version of the controls.

    the Telerik team

    Explore the entire Telerik portfolio by downloading the Ultimate Collection trial package. Get it now >>

  3. DevCraft R3 2016 release webinar banner
  4. muhammad
    muhammad avatar
    28 posts
    Member since:
    Jul 2010

    Posted 20 Jul 2012 Link to this post

    Hi Telerik team,
                            The logged issue works only if you start editing to new document. But for existing document if you load it and try to edit the document it does not fires the event. Can you please provide some work around for it. I am using 2012 V2 WPF controls. Thanks

    Muhammad Saqib.
  5. Nikolay Demirev
    Nikolay Demirev avatar
    102 posts

    Posted 26 Jul 2012 Link to this post

    Hi Muhammad,

    When you attach event handler to RadDocument.DocumentContentChanges and then load another document the event handler stays hooked up to old document's event. That is why the event handler is not executed. A solution for this issue is to use the RadRichTextBox.DocumentContentChanged event which raises even when the document has been changed.

    Nikolay Demirev
    the Telerik team

    Explore the entire Telerik portfolio by downloading Telerik DevCraft Ultimate.

Back to Top