Hi!
I have a DateTime field configured to show both date and time. If I use the SharePoint:DateTime control in Display-mode and DateOnly-attribute the page will crash! If I remove the DateOnly-attribute it will work but viewing both date and time.
This row displays the date field in Display mode with both the Date and Time:
<SharePoint:DateTimeField ID="ex1" FieldName="myDate" runat="server" ControlMode="Display" />
This row will crash:
<SharePoint:DateTimeField ID="ex2" FieldName="myDate" runat="server" ControlMode="Display" DateOnly="true"/>
Is it possible to show that field in Display mode without the time part?
Regards