【问题标题】:How can i get the start and end time of clicked appointment如何获取点击约会的开始和结束时间
【发布时间】:2013-11-13 16:59:03
【问题描述】:

嗨,我是调度程序控件的新手,谁能告诉我如何获取开始和结束时间以及日期,当我在后面的代码中选择时间说下午 4 点,然后当我保存时,当我尝试检索它时我的时间不同了,这就是我正在做的事情,谁能告诉我是什么问题

protected void RadScheduler1_AppointmentInsert(object sender, SchedulerCancelEventArgs e)
        {
            Appointments.Add(new AppointmentInfo(e.Appointment));
            DateTime start = e.Appointment.Start;
            DateTime end = e.Appointment.Start.AddMinutes(((RadScheduler)sender).MinutesPerRow);
            string startdate = e.Appointment.Start.ToString();
        }

【问题讨论】:

    标签: asp.net-mvc telerik telerik-scheduler


    【解决方案1】:

    请从 RadScheduler 中删除 TimeZoneOffset 属性。 如果有任何问题,请告诉我。

    【讨论】:

      猜你喜欢
      • 2020-11-09
      • 1970-01-01
      • 1970-01-01
      • 2015-01-31
      • 2023-01-05
      • 2021-09-06
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多