Hello,
I would like to set the SelectedDate value via a combination of xaml binding and code as the user works with the our application. I'm able to dynamically set the value once but when I attempt to set the SelectedDate a second time (resetting it) it doesn't change. The DatePicker keeps the original SelectedDate that was set.
Should I do something prior to "resetting" the SelectedDate value for this to work? Perhaps it's the way I'm binding? The way I'm setting it is I'm Binding the SelectedDate property in XAML and as the user selects a new record I reset the main datacontext in the code behind to the new query. Everything on the page updates as expected except the DatePicker.
It does work the first time I navigate to a record but then once it's set it doesn't reset as I navigate to another record.
Please let me know what I can do to correct this and thanks!
~ Dave
I would like to set the SelectedDate value via a combination of xaml binding and code as the user works with the our application. I'm able to dynamically set the value once but when I attempt to set the SelectedDate a second time (resetting it) it doesn't change. The DatePicker keeps the original SelectedDate that was set.
Should I do something prior to "resetting" the SelectedDate value for this to work? Perhaps it's the way I'm binding? The way I'm setting it is I'm Binding the SelectedDate property in XAML and as the user selects a new record I reset the main datacontext in the code behind to the new query. Everything on the page updates as expected except the DatePicker.
It does work the first time I navigate to a record but then once it's set it doesn't reset as I navigate to another record.
Please let me know what I can do to correct this and thanks!
~ Dave