Is there some way to get the upcoming events?

6 posts, 0 answers
  1. Sanjeev Bora
    Sanjeev Bora avatar
    15 posts
    Member since:
    Jan 2010

    Posted 15 May 2011 Link to this post

    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
  2. Veronica
    Admin
    Veronica avatar
    1213 posts

    Posted 15 May 2011 Link to this post

    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.

  3. Sanjeev Bora
    Sanjeev Bora avatar
    15 posts
    Member since:
    Jan 2010

    Posted 15 May 2011 Link to this post

    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
  4. Sanjeev Bora
    Sanjeev Bora avatar
    15 posts
    Member since:
    Jan 2010

    Posted 15 May 2011 Link to this post

    Ah i figured out ... I can catch the RadScheduler1_AppointmentCreated event and populate my list box..
     
  5. Sanjeev Bora
    Sanjeev Bora avatar
    15 posts
    Member since:
    Jan 2010

    Posted 22 May 2011 Link to this post

    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
  6. Peter
    Admin
    Peter avatar
    6637 posts

    Posted 24 May 2011 Link to this post

    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.

Back to Top