Nagesh Mynedi
Top achievements
Rank 1
Nagesh Mynedi
asked on 20 Jan 2010, 05:50 AM
how to enable the drag facility for an appointment in server side with out making the allowedit is false
6 Answers, 1 is accepted
0
Hello Nagesh,
http://www.telerik.com/community/forums/aspnet-ajax/scheduler/how-to-enable-the-drag-facility-for-an-appointment.aspx
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.
http://www.telerik.com/community/forums/aspnet-ajax/scheduler/how-to-enable-the-drag-facility-for-an-appointment.aspx
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.
0
Andy
Top achievements
Rank 1
answered on 14 Feb 2010, 02:14 PM
Similar question......
How do you disable the drag facility, without losing edit ability?
I want to ensure that the user can edit appointments using only the edit form, and not by dragging.
Andy
How do you disable the drag facility, without losing edit ability?
I want to ensure that the user can edit appointments using only the edit form, and not by dragging.
Andy
0
Hi Anand,
OnClientAppointmentMoving can also be cancelled.
Best wishes,
Peter
the Telerik team
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items.
OnClientAppointmentMoving can also be cancelled.
Best wishes,
Peter
the Telerik team
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items.
0
Andy
Top achievements
Rank 1
answered on 16 Feb 2010, 02:29 PM
Hi Peter,
I tried using the client side event, but its still not working. I am able to move the appointment around.
I've using the following code in the page header:
Then I've set the RadScheduler as follows:
Is there something i am missing???
Thanks
Andy
I tried using the client side event, but its still not working. I am able to move the appointment around.
I've using the following code in the page header:
| <script type="text/javascript"> |
| function OnClientAppointmentMoving(sender, eventArgs) { |
| eventArgs.set_cancel(false); |
| } |
| function OnClientAppointmentResizing(sender, eventArgs) { |
| eventArgs.set_cancel(false); |
| } |
| </script> |
Then I've set the RadScheduler as follows:
| <telerik:RadScheduler ID="schCruiseCalendar" runat="server" DataEndField="EndTime" |
| DataKeyField="ID" DataStartField="StartTime" DataSubjectField="Subject" |
| ValidationGroup="schCalendar" SelectedView="WeekView" StartInsertingInAdvancedForm="True" |
| StartEditingInAdvancedForm="true" WeekView-ColumnHeaderDateFormat="ddd, d MMM" |
| OnClientAppointmentMoving="OnClientAppointmentMoving" OnClientAppointmentResizing="OnClientAppointmentResizing"> |
Is there something i am missing???
Thanks
Andy
0
Hi Anand,
The events should be cancelled with eventArgs.set_cancel(true);
All the best,
Peter
the Telerik team
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items.
The events should be cancelled with eventArgs.set_cancel(true);
All the best,
Peter
the Telerik team
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items.
0
Andy
Top achievements
Rank 1
answered on 16 Feb 2010, 02:35 PM
DAMN!!!! What an STUPID error on my part!!!
Seems i really need to catch up on some sleep. Been having 20-hour days for 5 straight weeks now!!! :(
Thanks a lot for this
Andy
Seems i really need to catch up on some sleep. Been having 20-hour days for 5 straight weeks now!!! :(
Thanks a lot for this
Andy