I see,
it worked.
In my scheduler i use Appointments and Tasks. The tasks belong to a appointment.
and thats why i asked my question in my first post.
because the event thats starts on 5 dec and ends on 7 december can't catch data from the 6th.
i have a contextmenu on my events that if you click it, it will open a popup with the calender controll and it will show all the tasks that belong to the appointment.
But with a event thats stretched over more days, it won't since you only have the start and end date.
Is there a possibility that the solution you gave, could be used in my c# for opening the popup?
this is the code for popup
protected void dpsRoster_EventMenuClick(object sender, EventMenuClickEventArgs e)
{
string EventID = e.Tag["EventID"];//gebruiken bij afspraken
string EventType = e.Tag["Eventtype"];//gebruiken bij taken.
switch (e.Command)
{
case "ShowDayInfo":
string url = "frmDayInfo.aspx?start=" + e.Start.ToShortDateString() + "&r=" + e.ResourceId+"&eventtype="+EventType + "&eventid="+EventID;
ClientScript.RegisterStartupScript(this.GetType(), "newWindow", String.Format("window.open('{0}','null','left=400, top=100, height=500, width= 700, status=no, resizable=no, scrollbars=no, toolbar=no, location=no, menubar=no');", url));
break;
}
}