Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
305
WebDayView doesm't work properly
posted

Hi i have a problem with WebDayView, i cannot see the appointments, but in WebMonthView yes. Why??

on LOAD : 

this.wsInfo.AppointmentFormPath = "WebSchedule/AppointmentAdd.aspx";

        this.wsInfo.ReminderFormPath = "WebSchedule/Reminder.aspx";

 

        IList resources = null;

        ICollection appointments = null;

 

        if (!IsPostBack)

        {

 

            resources = GetResources();

 

            appointments = GetAppointments();

 

            Session["WebSchdeuleObjects"] = new object[] { resources, appointments };

        }

        else

        {

            object[] objects = Session["WebSchdeuleObjects"] as object[];

 

            resources = objects[0] as IList;

            appointments = objects[1] as ICollection;

        }

 

        WebScheduleGenericProviderBindings();

 

        WebScheduleGenericProvider1.ActivityDataSource = appointments;

        WebScheduleGenericProvider1.VarianceDataSource = appointments;

 

        WebScheduleGenericProvider1.ResourceDataSource = resources;