is there a ''text has changed'' property?

I could hook the 'text changed' and set a flag but that doesn't handle the 'undo' setting it back to un-changed, other than keeping a whole copy of the file and comparing...


5 Replies

AD Administrator Syncfusion Team December 1, 2006 02:00 PM UTC

Hi dunion,

The IsModified property of EditControl indicates if the text in EditControl has changed. I have attached a sample that illustrates this. Let me know if this meets your requirements.

Thanks for your patience.

Regards,
Ebenezer.P

sample



AD Administrator Syncfusion Team July 18, 2012 07:49 PM UTC

Is there a way I can set this property?


AD Administrator Syncfusion Team July 18, 2012 07:50 PM UTC

Basically, I'm handling saving of the document by myself and I don't want to get the "Text has been modified..." dialog when I close the editor if no changes has been made since the last edit.


AD Administrator Syncfusion Team July 18, 2012 07:57 PM UTC

I guess I can achieve what I need by using SaveOnClose property... thanks.


SG Selva Ganapathy Kathiresan Syncfusion Team July 23, 2012 04:51 AM UTC

Hi Andrew,

Thanks for the update.

We are glad to hear that you achieve your requirement.

Please let us know if you have any concerns.

Regards,

Selva Ganapathy K

Loader.
Up arrow icon