Hi Support Team,
I have a requirement where i need to show Date with same format in both display and edit mode. (For e.g. like Nov 12, 2013). I tried out in the DateTimeEditor but could not achieve it. Is it possible achieve this?
If it is not possible then can you let us if it is possible by any other approach.
I have shown in the image.
Hi,
The control displays the date using the same format by default. So if it's not showing the same, it's because you changed it. In the screen shots you have here, it looks like you set the FormatString property to change the format when the control is not in edit mode. So just don't do that and it will look the same in both cases.
Actually... it just occurred to me that the control might be picking up the format from the Operating system, so it might not always be the same by default.
There's no way to show the format you have here when the control is in edit mode. When in edit mode, the control uses a masked input and the mask cannot accept letters for the month like this.
If that's the format you need, then you might want to consider using UltraCalendarCombo instead of UltraDateTimeEditor. The CalendarCombo doen't use a mask - it's freeform text entry, so it can support a format like you want here.