Telerik Scheduler- 드래그 앤 드롭
-
20-09-2019 - |
문제
Telerik 데모 스케줄러를 내베이스로 사용합니다. http://www.telerik.com/community/forums/wpf/scheduler/uniqueid-property-how-to-access-it.aspx따라서 SQL 에서이 스케줄러로 데이터로드를 구현했습니다. 이제 드래그 앤 드롭을 구현하고 싶습니다. 그렇다면 어떻게 예약 값을 오래된 장소에서 얻을 수 있습니까? 스케줄러의 새로운 장소에서 널리 퍼져있는 방법은 무엇입니까? 이 값을 사용하여 SQL에서 약속 날짜의 업데이트를 구현합니다.
해결책
private void OnAppointmentEdited(object sender, AppointmentEditedEventArgs e)
{
Appointment eAppo = e.Appointment as Appointment;
SessionAppointment ses = e.Appointment as SessionAppointment;
if(eAppo != null && ses != null)
{
DateTime dateStart = eAppo.Start; //new datestart
DateTime dateEnd = eAppo.End;//new dateend
string id = ses.UniqueId;//id
}
}
제휴하지 않습니다 StackOverflow