How Do I Export A Calendar With Events Populated From a DB?
13 years ago.
I have a DayPilot Calendar, populated with events from a DataSource, that I am trying to export WITH the events. When I run the following export, I get the correct calendar but it has no events:
Response.Clear()
Response.ContentType = "image/png"
Dim img As System.IO.MemoryStream = DP_MonthCalendar.Export(System.Drawing.Imaging.ImageFormat.Png)
img.WriteTo(Response.OutputStream)
Response.End()
This code is ran by clicking a linkbutton below the fully populated DayPilot Calendar. Am I missing a setting or property that will populate events on export?
DayPilot