This is a migrated thread and some comments may be shown as answers.

How can I disable appointment Drag & Drop ?

1 Answer 23 Views
Calendar
This is a migrated thread and some comments may be shown as answers.
wang zhong
Top achievements
Rank 1
wang zhong asked on 16 Apr 2010, 03:57 AM
Hi,

How can I disable appointment Drag & Drop at silverlight Calendar ?

Thanks !

1 Answer, 1 is accepted

Sort by
0
wang zhong
Top achievements
Rank 1
answered on 16 Apr 2010, 06:16 AM
I use following code appers good,but when i change the view month->timeline or timeline to month,
My Appointment changed, It's strat and end changed.
That's too terrible :(

private

 

 

void scheduler_AppointmentEditing(object sender, AppointmentEditingEventArgs e)

 

{

 

 

 

if (e.AppointmentEditAction.Equals(AppointmentEditAction.Drag)) e.Cancel = true;

 

 


}
Tags
Calendar
Asked by
wang zhong
Top achievements
Rank 1
Answers by
wang zhong
Top achievements
Rank 1
Share this question
or