protected void Page_Load(object sender, EventArgs e)
 {
     DataHelper.SetupCustomEventsMappings(ASPxScheduler1);
     DataHelper.ProvideRowInsertion(ASPxScheduler1, dataSource.AppointmentDataSource);
     dataSource.AttachTo(ASPxScheduler1);
     if (!IsPostBack)
     {
         AppointmentForm.DataBind();
     }
 }
Exemplo n.º 2
0
 protected void Page_Load(object sender, EventArgs e)
 {
     // Data binding should be performed manually
     DataHelper.SetupDefaultMappings(ASPxScheduler1);
     DataHelper.ProvideRowInsertion(ASPxScheduler1, objectDataSource.AppointmentDataSource);
     objectDataSource.AttachTo(ASPxScheduler1);
     if (!IsPostBack)
     {
         AppointmentForm.DataBind();
     }
 }