Detect changes to user input controls in Silverlight?

Posted by code on Stack Overflow See other posts from Stack Overflow or by code
Published on 2010-05-13T21:28:31Z Indexed on 2010/05/13 21:34 UTC
Read the original article Hit count: 200

I have a childwindow with a number of Textboxes, Comboboxes, and DatePickers. I want to know if a user has changed any value in these (to know if I need to save to db)

One way I could think of doing this are in the 'on chg' event handlers and set bool. But if a user changes the value, in say a combobox, then changes back to the original this would still be seen as a change.

Are there other alternatives?

(note the project is not set up as MVVM)

Thanks

© Stack Overflow or respective owner

Related posts about Silverlight

Related posts about uielement