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

[Solved] How to disable the drag in serverside

2 Answers 113 Views
Scheduler
This is a migrated thread and some comments may be shown as answers.
Dhana R
Top achievements
Rank 1
Dhana R asked on 03 Sep 2009, 05:47 AM
Hi,

I want to disable the edit,delete,drag(move appointment) in some situations based on user authenication.Aim is to prevent the update.

please tell me how to disable the drag for particular appointment?

i know that there is client side functionality available.but i need to disable in server side because i have some validation.

Thanks for your help

Dhana.

2 Answers, 1 is accepted

Sort by
0
Dhana R
Top achievements
Rank 1
answered on 03 Sep 2009, 02:00 PM
If i set Allowedit=false, the drag is disabled.

but if the appointment is recurring appointment, i cant disable the drag even i have put Allowedit=false;

How can i disable the drag option for recurring appointment from server side?

please help me.
0
Peter
Telerik team
answered on 03 Sep 2009, 02:26 PM
Hello Dhana,

Setting AllowEdit = false in AppointmentDataBound will disable dragging for recurring appointments as well.
 protected void RadScheduler1_AppointmentDataBound(object sender, SchedulerEventArgs e)  
    {  
        e.Appointment.AllowEdit = false;  
    } 

I am not sure why you experience different behavior but if you can assemble a sample project and send it to us via a support ticket for testing, we will probably be able to find the cause of the problem.


Regards,
Peter
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
Tags
Scheduler
Asked by
Dhana R
Top achievements
Rank 1
Answers by
Dhana R
Top achievements
Rank 1
Peter
Telerik team
Share this question
or