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

Disabling Edit Form in RadScheduler

4 Answers 293 Views
Sharepoint Integration
This is a migrated thread and some comments may be shown as answers.
Vincent
Top achievements
Rank 1
Vincent asked on 08 May 2009, 05:24 PM
Hi,

I am using the RadScheduler, and I would like to disable the edit form, both advanced and simplified. But I do not want to disable editing by doing _theCalendar.AllowEdit = false because i still need to trigger the AppointmentClick event.
So when i click on an appointment I don't want the RadScheduler to show anything.
Is there a way to achieve that?

thanks,
Vincent

4 Answers, 1 is accepted

Sort by
0
Veselin Vasilev
Telerik team
answered on 11 May 2009, 12:35 PM
Hi Vincent,

I am afraid this is not possible. To fire the AppointmentClick server event, AllowEdit property should be True.
What exactly do you want to achieve?

What you can do is to subscribe to the OnClientAppointmentClick event and call the ajaxRequest method of the RadAjaxManager to fire the server side AjaxRequest event of the ajax manager.


Regards,
Veselin Vasilev
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Check out the tips for optimizing your support resource searches.
0
Vincent
Top achievements
Rank 1
answered on 11 May 2009, 03:29 PM
Hi Veselin,

What I want to achieve is to do a single click on an event, and the handler performs some server-side action.

I don't quite understand what your suggestion means. Can you please provide an example?

Regards,
Vincent
0
Accepted
Veselin Vasilev
Telerik team
answered on 13 May 2009, 02:29 PM
Hello Vincent,

Please find attached a sample project.
When you click on an appointment (e.g. the appointment named Click here) the OnClientAppointmentClicked event is fired. In its handler I am calling the ajaxRequest method of the RadAjaxManager passing the ID of the appointment. This fires the server AjaxRequest event where I find the appointment by its ID and change its subject.

I hope this helps.

All the best,
Veselin Vasilev
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Check out the tips for optimizing your support resource searches.
0
Vincent
Top achievements
Rank 1
answered on 13 May 2009, 03:54 PM
Hi Veselin,

This is PERFECT!!

Thanks a million!

Regards,
Vincent
Tags
Sharepoint Integration
Asked by
Vincent
Top achievements
Rank 1
Answers by
Veselin Vasilev
Telerik team
Vincent
Top achievements
Rank 1
Share this question
or