Hi,
I am using the xamDateTimeInput in silverlight. The date is appearing fine but when I clear the field by highlighting the value and press delete it is not reflected in the data field. This is after tabbing or moving to a different field.
Here's the field XAML
<ig:XamDateTimeInput Grid.Row="0" Grid.Column="1" Value="{Binding Lease.DateOccupied, Mode=TwoWay}" Mask="{}{date}" />
This is an update to let all those interested know that this issue has been resolved in the latest service release. As long as you make DateTime a nullable type it will be set to null when you delete the text from the date time input. Selecting a date from the dropdown will then create a new DateTime object.
To download the service release, log in to‘My IG’ and select ‘Keys & Downloads’. Select the appropriate tab for this product; then the license key. The available service releases (Hot Fixes) should now be listed on the page.
Hi mmalsor,
I have logged this as a development issue in our internal tracking system with the ID of 99243. I have also opened a case for you that is linked to the development issue so that you may be automatically notified when a fix is available for download. I will also post an update here when a fix is available.
There is a work around for this if you need it right away. You can use the XamDateTimeInput.LostFocus event to check if the text was deleted from the control and handle it the way you want, such as reapplying the binding so the control resets to the current value. This way the user isn't left with an empty control.
I'm looking into this issue and I'll have an update ready for you by tomorrow.