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

disable edit on back end

3 Answers 42 Views
Scheduler
This is a migrated thread and some comments may be shown as answers.
Gina
Top achievements
Rank 1
Gina asked on 23 Sep 2009, 04:38 PM
is it possible to disable the edit on the back end.. I need to have the user still click the subject however I want to do something different on the back end...  I tried to do 

rsLocationCalendar.AllowEdit =

false;
however it did not do anything... I saw a sample but cannot seem to get it to work in the front end... Any help you can give would be great.

 

3 Answers, 1 is accepted

Sort by
0
Schlurk
Top achievements
Rank 2
answered on 23 Sep 2009, 05:10 PM
The easiest thing to do would be to capture the onAppointmentEditing event and through javascript cancel the event. If you want to selectively cancel the editing you would have to check the identity of  the sender parameter and cancel the event depending on that id.

function onAppointmentEditing(sender, eventArgs)   
{   
    eventArgs.set_cancel(true);   

0
Gina
Top achievements
Rank 1
answered on 23 Sep 2009, 05:27 PM
only problem is i need to be able to get to the onappointmentclick="RadScheduler1_AppointmentClick" to be able to run code from the server side...  by adding this it locks me to click on the appointments :(  any other suggestions ?

 

0
Gina
Top achievements
Rank 1
answered on 23 Sep 2009, 06:14 PM
I found a work around... i set the scheduler to readOnly = true and this seem to disable the edit feature.
Tags
Scheduler
Asked by
Gina
Top achievements
Rank 1
Answers by
Schlurk
Top achievements
Rank 2
Gina
Top achievements
Rank 1
Share this question
or