protected void Page_Load(object sender, EventArgs e)
 {
     SetupMappings();
     ResourceFiller.FillResources(this.ASPxScheduler1.Storage, 3);
     ASPxScheduler1.AppointmentDataSource = appointmentDataSource;
     ASPxScheduler1.DataBind();
 }
Exemple #2
0
    protected void Page_Load(object sender, EventArgs e)
    {
        DataHelper.SetupMappings(this.ASPxScheduler1);
        ResourceFiller.FillResources(this.ASPxScheduler1.Storage, 3);
        DataHelper.ProvideRowInsertion(ASPxScheduler1, appointmentDataSource);

        ASPxScheduler1.AppointmentDataSource = appointmentDataSource;
        ASPxScheduler1.DataBind();
    }
Exemple #3
0
    protected void Page_Load(object sender, EventArgs e)
    {
        ResourceFiller.FillResources(ASPxScheduler1.Storage, 3);
        ASPxScheduler1.DataBind();

        if (!IsPostBack)
        {
            ASPxScheduler1.Start = new DateTime(2012, 1, 1);
        }
    }
Exemple #4
0
    protected void Page_Load(object sender, EventArgs e)
    {
        SetupMappings();
        ResourceFiller.FillResources(this.ASPxScheduler1.Storage, 3);

        ASPxScheduler1.AppointmentDataSource = appointmentDataSource;
        ASPxScheduler1.Storage.Appointments.AutoRetrieveId = true;
        ASPxScheduler1.DataBind();

        ASPxScheduler1.GroupType = SchedulerGroupType.Resource;
    }
Exemple #5
0
    protected void Page_Load(object sender, EventArgs e)
    {
        SetupMappings();
        ResourceFiller.FillResources(this.ASPxScheduler1.Storage, 3);

        ASPxScheduler1.AppointmentDataSource = appointmentDataSource;
        ASPxScheduler1.DataBind();

        ASPxScheduler1.Start     = DateTime.Today;
        ASPxScheduler1.GroupType = SchedulerGroupType.Resource;
    }
Exemple #6
0
    protected void Page_Load(object sender, EventArgs e)
    {
        SetupMappings();
        ResourceFiller.FillResources(this.ASPxScheduler1.Storage, 3);

        ASPxScheduler1.AppointmentDataSource = appointmentDataSource;
        ASPxScheduler1.DataBind();

        ASPxScheduler1.GroupType = SchedulerGroupType.Resource;

        ASPxListBox1.Border.BorderStyle = BorderStyle.None;
    }
    protected void Page_Load(object sender, EventArgs e)
    {
        SetupMappings();
        ResourceFiller.FillResources(Storage, 3);

        ASPxScheduler1.AppointmentDataSource = appointmentDataSource;
        ASPxScheduler1.DataBind();

        if (!IsPostBack)
        {
            ASPxScheduler1.Services.Selection.SelectedInterval = new TimeInterval(
                ASPxScheduler1.Start.Date.AddHours(1),
                ASPxScheduler1.Start.Date.AddHours(2));
        }
    }