Thank you for the reply. I tried that but with no luck.
[CODE]
Protected Sub Page_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Load
Response.Clear()
Response.ContentType = "image/png"
DP_MonthCalendar.DataSourceID = "DS_GetCalendarEvents"
DS_GetCalendarEvents.DataBind()
DP_MonthCalendar.DataBind()
Dim img As System.IO.MemoryStream = DP_MonthCalendar.Export(System.Drawing.Imaging.ImageFormat.Png)
img.WriteTo(Response.OutputStream)
Response.End()
End Sub
[/CODE]
The page that is exporting the calendar is a pass-thru. It loads the Calendar from the DB and displays the events, then on page_load it exports itself as an image. When I disable the pass-thru on page load it properly displays the events on the asp Calendar.
I have also tried adding the export functionality to a button and clicking it after the events are all populated. This does not work either. It too prints a blank calendar.