It appears that xamDateTimeEditor doesn't have a dropdown calendar for choosing dates - is that correct ? I must admit to being somewhat surprised that it's literally just a dateTime editor, and lacks any DateTimePicker functionality.
Thanks,
Andy Mackie
Hi there!
The DateTimeEditor now has a dropdown in the new 8.2 release.
Horen
How to set the drop down property?
I set the editortype in codebehind
.EditorType = typeof(XamDateTimeEditor);
So how to set the property???
The default mask for a DateTime datatype is "{date}". You can either change the default for all masked editors using the RegisterDefaultMaskForType method or you can just set the Mask for this editor instance (i.e. add a setter for the Mask property and use a value like "{}{date} {time}").
Hi,
Yes, I did already download the trial version, earlier today.
My follow-up question, asking about Times not showing up when I use the calendar pop-up, was posted after I replaced the express install with the trial install.
Hello,
If you are evaluating our product you should really download and install the trial version. In contrast to the Express, the trial has the full functionality and all of the controls in it.
Thanks, that helped. I have the full eval now and I do see the calendar appear as a pop-up.
But, another problem: How to support TIME data as well as date data?
If my xaml specifies the FieldSettings, so that it specifies EditAsType is sys:DateTime, then I get the calendar pop-up when editing dates.
The problem is, some of my DateTime columns do actually include time data. If my xaml specifies EditAsType to be sys:DateTime, then yes, the calendar pop-up is available, but, then my Time data disappears altogether -- I can no longer see the time portions of my DateTime values (even when I'm not editing).
So if I include the EditAsType, then I can't see my time data. If I omit the EditAsType, then I don't see the calendar popup.
So, is this a known problem (the fact that Times disappear when you set EditAsType to sys:DateTime)? And if so, is there a work-around?
Thanks!
XamMonthCalendar is not part of the express assemblies.