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

Is there some way to get the upcoming events?

5 Answers 136 Views
Scheduler
This is a migrated thread and some comments may be shown as answers.
Sanjeev Bora
Top achievements
Rank 1
Sanjeev Bora asked on 15 May 2011, 09:27 AM
Is there a way I can catch hold of the next 10 upcoming events for a user and display them in a listbox? The Recurrence rule poses a major roadblock here. Any light on this will be appreciated.

Sanjeev

5 Answers, 1 is accepted

Sort by
0
Veronica
Telerik team
answered on 15 May 2011, 06:12 PM
Hello Sanjeev Bora,



I didn't understood your question. If you want to see which event is fired on current action you can take a look at this demo for Client-Side events of the RadScheduler. Please note that each client-side event has a corresponding server-side event. If you have any doubts or questions on the server-side events - you can take a look at this help section.



All the best,

Veronica Milcheva

the Telerik team

Browse the vast support resources we have to jump start your development with RadControls for ASP.NET AJAX. See how to integrate our AJAX controls seamlessly in SharePoint 2007/2010 visiting our common SharePoint portal.

0
Sanjeev Bora
Top achievements
Rank 1
answered on 15 May 2011, 07:51 PM
Ah, actually what I need is, since the Scheduler is in MonthView mode, if there are multiple parallel events they are not quickly visible to the user. So  I would want to catch the next 10 upcoming events for the user (using SQL query on the Events table) and display them to the user. While querying the data, since the RECURRENCE_RULE field has complex syntax in it, do you think we have a easier way to query the DB to get the upcoming events?

Thanks
Sanjeev
0
Sanjeev Bora
Top achievements
Rank 1
answered on 16 May 2011, 04:47 AM
Ah i figured out ... I can catch the RadScheduler1_AppointmentCreated event and populate my list box..
 
0
Sanjeev Bora
Top achievements
Rank 1
answered on 22 May 2011, 08:26 AM
Unfortunately if I catch the e.Appointment in the event RadScheduler1_AppointmentCreated, it gives me the start date of the event, but not the recurring event time and date.... How can I achieve this? Is it possible at all to catch the recurring event date, time ?

Sanjeev
0
Peter
Telerik team
answered on 24 May 2011, 03:27 PM
Hi Sanjeev,

Yes, you can parse the recurrence rule as shown in this kb article -
http://www.telerik.com/support/kb/aspnet-ajax/scheduler/how-to-display-all-radscheduler-appointments-in-gridview.aspx


Best wishes,
Peter
the Telerik team

Browse the vast support resources we have to jump start your development with RadControls for ASP.NET AJAX. See how to integrate our AJAX controls seamlessly in SharePoint 2007/2010 visiting our common SharePoint portal.

Tags
Scheduler
Asked by
Sanjeev Bora
Top achievements
Rank 1
Answers by
Veronica
Telerik team
Sanjeev Bora
Top achievements
Rank 1
Peter
Telerik team
Share this question
or