I put DateTime.Today in the StartDate field, but I receive "Property value is not valid."
How to I set it to show the current date?
You have to do it in the code behind, not in the .aspx page:
protected void Page_Load(object sender, EventArgs e)
DayPilotCalendar1.StartDate = DateTime.Today;
DayPilotCalendar1.DataSource = getData();
I'm using what I assume is the VB equivalent:
Protected Sub Page_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Load
If IsPostBack = True Then
DayPilotCalendar1.StartDate = DateTime.Today
DayPilotCalendar1.DataSource = GetDataItem()
but it does not work; it sets the dates to "1/1/0001", "1/2/001", etc.