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
560
XamDateTimeEditor - Calendar dropdown reset to value date?
posted

Here's a small use case for my problem:

- A XamDateTimeEditor is shown with today's date

- User clicks the DropDown button. Today's date is correctly selected and show in the calendar.

- User clicks the month, then the year, and select 2003.

- User click somewhere else to exit the editing.

- The value of the XamDateTimeEditor is programmatically changed to yesterday by another action in the software (Context has changed).

- The user clicks the DropDown button. The expected behavior is to show yesterday's date in the calendar, just like the first time, but instead, it shows the 2003's month selection.

How can I make the DropDown calendar to reset to the current value of the XamDateTimeEditor and show it instead of showing the last state of editing?

Parents
No Data
Reply
  • 285
    posted

    This is the problem I was trying to explain in the this post http://ko.infragistics.com/community/forums/p/94199/466438.aspx#466438.  We have several places in our application where this occurs and the solution proposed here is not going to work.  When the value of the XamDateTimeEditor is null it should open to the current month and year.  I don't want to have to set the date to today and then set it to null to make this happen.  That is a hack that shouldn't have to happen.  Anyway to get this fixed?

Children