首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >Telerik Scheduler -拖放

Telerik Scheduler -拖放
EN

Stack Overflow用户
提问于 2009-12-18 15:39:12
回答 1查看 1.5K关注 0票数 0

我使用Telerik演示调度器作为我的基础,就像它在http://www.telerik.com/community/forums/wpf/scheduler/uniqueid-property-how-to-access-it.aspx中看到的那样,所以我已经实现了从SQL到这个调度器的数据加载。现在我想实现拖放。那么,如何在scheduler中获取旧位置中的约会值和新位置中的值?最好的方法是什么?我将使用这些值在SQL中实现约会日期的更新。

EN

回答 1

Stack Overflow用户

回答已采纳

发布于 2009-12-18 23:37:37

代码语言:javascript
复制
        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

}
}
票数 0
EN
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/1926880

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档