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?
Hello Laura,
I have logged this with development under ID: 188506 and I have also created a support ticket on your behalf: CAS-150995-W7T1T3 and have linked the development issue to it, so that you can get automatically updated, when a Service Release containing the fix is available for download. You can get the new version from our website’s “My IG”, “My Keys & Downloads” tags: https://ko.infragistics.com/Membership/Default.aspx?panel=Downloads#Downloads
You can also monitor the support ticket’s progress through the “My Support Activity” tag: https://ko.infragistics.com/Membership/MySupport.aspx
I figured out why it is doing this. If you put the control in IsAlwaysInEditMode then you get this behavior. This is not the behavior I would be expecting though. I have updated the example sent to me to be more like what we are doing in our application.
Yes I did but his example wasn't what I was trying to explain. I have been busy and haven't been able to update the sample to do what we are doing in our program.
Did you have the chance to look at the sample Andrew attached to the forum thread you referred?
Looking forward for your reply.
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?