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

Ability to capture appointment Click, appointment Move, and cells/time selected on the server?

6 Answers 97 Views
Scheduler
This is a migrated thread and some comments may be shown as answers.
Chris Trina
Top achievements
Rank 1
Chris Trina asked on 04 Jan 2010, 06:19 PM

 

I'm trying to migrate to the RadScheduler from anther calendar control.  I have everthing displaying fine, but am struggling with what should be some pretty simple events.

Instead of using the integrated appointment edit process I need to redirect to one of my own pages for editing an appointment, this is due to my appointments being extremely complex and not really fitting in the popup window.  I'm able to get this working via your appointment_click event.

However I also need to know 
if they move an appointment via dragging, on the server I need to know that the drag occured, the id of the appointment, and the new start/end times.  Does this event exist? 

 

Finally if they click on a time period to create an event I need to know that this occured and the time period selected, any event?

Sorry to be a pain

 

6 Answers, 1 is accepted

Sort by
0
Chris Trina
Top achievements
Rank 1
answered on 04 Jan 2010, 08:20 PM
OK, I figured out that the Update event allows me to handle the drag/move issue. 

Any hints on where to capture a schedule click event on the server so that I can handle adds?
0
NLV
Top achievements
Rank 1
answered on 06 Jan 2010, 01:45 PM
I too have the same requirements. I need to handle appointment delete, appoint moved, appointment insert on click in the server side. All i googled and found is the client side events. How to handle them server side?

Thank you.
0
Dimitar Milushev
Telerik team
answered on 07 Jan 2010, 09:34 AM
Hello,

There is a list of the most commonly used server-side events and their descriptions in our documentation. To redirect to a custom inserting form, you need to handle the FormCreating event and cancel it so the built-in form is not shown. In the event's arguments there is an Appointment object that you can use to extract the needed data.

I hope this helps.

Kind regards,
Dimitar Milushev
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
NLV
Top achievements
Rank 1
answered on 11 Jan 2010, 06:54 AM
Thanks for your reply. I did it.
0
Oliver
Top achievements
Rank 1
answered on 06 Apr 2012, 05:02 PM
Hi, Telerik Team

How to automatically change the start time and end time of appointment item to new value after moving the appointment item in telerik Scheduleview to new place?
0
Peter
Telerik team
answered on 09 Apr 2012, 12:57 PM
Hi Oliver,

That would depend on the way you data bind RadScheduler. For example, consider the Binding to Generic List demo where AppointmentUpdate/Delete/Insert events are handled to update the data source.

With LinqDataSource for example, you don't have to explicitly handle any RadScheduler events. Instead you let the data source do the job:

<asp:LinqDataSource runat="server" ID="LinqDataSource1" ContextTypeName="LinqToSql.TelerikSamplesDataContext"
EnableDelete="True" EnableInsert="True" EnableUpdate="True" TableName="Appointments">


Kind regards,
Peter
the Telerik team
If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to their blog feed now.
Tags
Scheduler
Asked by
Chris Trina
Top achievements
Rank 1
Answers by
Chris Trina
Top achievements
Rank 1
NLV
Top achievements
Rank 1
Dimitar Milushev
Telerik team
Oliver
Top achievements
Rank 1
Peter
Telerik team
Share this question
or