I have a data grid with a field that is bound to a DateTime. Since the user only can choose from a predefined set of dates, I use a XamComboEditor to edit the field. I want to specify formatting for the dates and I have successfully been able to do so for the drop down. However, I'm not able to set the date format of the "preview" of the field (i.e. when the field is not in edit mode).
How do I set the date format of the "preview"?
The XAML for the field:
---------------------
<igWPF:Field Name="ReferenceDate" Label="Reference date">
PS! I would love to see better code-formatting support in your forum editor...
Hello Atle,
I am just checking the progress of this issue and was wondering if you managed to achieve your goal or if you need any further assistance on the matter.
Thank you for your post. I have been looking into it, but I wasn’t able to reproduce your behavior. I used the following Format “dd-MMM” and it works as expected. Could you please try to set the format like this and see if it works for you. If it does the issue comes from the static value you use, if it still doesn’t work, could you please send an isolated sample project, where the issue is reproduced, so I can investigate it further for you.
Looking forward for your reply.