Join us this Friday for AI in Action at the Virtual Happy Hour! This free virtual event is open to all—enroll now on Academy and don’t miss out.
Join us this Friday for AI in Action at the Virtual Happy Hour! This free virtual event is open to all—enroll now on Academy and don’t miss out.
I have created the StartTime field by using the below code. Provided the required details, and not selected the StartTime field value then published the page. But on the publishing page startTime field value showing 12:00. How can we show empty/null if not select the StartTime.
[ClientEditor(ClientEditingClass = "dijit/form/TimeTextBox")]
public virtual DateTime StartTime { get; set; }
.CSHTML
<p>@Model.CurrentPage.EventEndTime.ToString("hh:mm tt")</p>