Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
485
resetting the XamTextEditor?
posted

Hi,

I'm editing records in a datagrid, using a kind of popup control. On the control I have some XamEditors. Basically I reuse the form anytime I want to do something. I put my controls in IsAlwaysInEditMode.

 When I change or add a record, and select another (bind the dataitem of the grid to my popup control) I get the funny behaviour that the value I entered previously is still stored as OriginalValue. This is ofcourse not the behaviour I would like. It would be nice if I could reset the XamTextEditor.. I could remove the control and instantiate it again but then what do I use XAML for? ;-)

Some input would be appreciated here, thanks:)