82
0 vote vote

[ Resolved ]

Need a property named IsModified and IsDirty.

Description

This property should be renamed IsDirty.

The purpose of these two properties:
- IsDirty: Let the user know if the contents of the control has changed from the time the contents
has was initially loaded. This will depend on wether Databinding is being used or not as explained
below.

- IsModified: Let the user know if the contents of the control has changed in-between the time the
control has received focus and lost focus as explained below.

I will try and discribe how these two properties should work:

IsDirty:
In Databinding Mode:
- This property should be set to Flase only as the user moves between records.
- This property should be set to True at anytime the contents of the control is changed by either
Typing, any operations command, LoadExternalFile, etc.
- It should only be reset to False as the user moves from one record to another.

In Non Databinding Mode:
- This property should be set to False with LoadExternalFile and DocumentHtml = something.
- This property should be set to True for anyother reason the contents has changed.

IsModified:
Databinding and Non Databinding:
- This property should be set to False each time the control receives focus.
- This property should be set to True at anytime the contents of the control is changed by either
Typing, any operations command, LoadExternalFile, etc.

The IsModifed property you have proved me with in version 4.0.6.28 is very close to what the IsDirty Property should be.

I hope this helps.
Please feel free to share your comment.
loading...