DataSource Binding Example

7 posts, 0 answers
  1. Brian Mains
    Brian Mains avatar
    485 posts
    Member since:
    Oct 2008

    Posted 12 Dec 2008 Link to this post

    Hello,

    Referring to this here:

    http://www.telerik.com/help/aspnet-ajax/schedule_databindingusingthedatasourceproperty.html

    It doesn't seem this code handles recurring scenarios, where the user drags and moves a recurring appointment, or if they delete one of the recurring appointments...

    Is that correct?

    Thanks.
  2. Peter
    Admin
    Peter avatar
    6637 posts

    Posted 15 Dec 2008 Link to this post


    The AppointmentInfo class defines RecurrenceRule, RecurrenceParentID and RecurrenceState which is sufficient to implement the recurrence functionality. More on recurring appointments you can read here:
    http://www.telerik.com/help/aspnet-ajax/schedule_serversideworkingwithrecurringappointments.html.


    All the best,
    Peter
    the Telerik team

    Check out Telerik Trainer, the state of the art learning tool for Telerik products.
  3. UI for ASP.NET Ajax is Ready for VS 2017
  4. SKS
    SKS avatar
    32 posts
    Member since:
    Aug 2009

    Posted 29 Aug 2009 Link to this post

    hello
    i have two different types of appointments in my application.
    how to display them in one radscheduler control?
    thanks
  5. Brian Mains
    Brian Mains avatar
    485 posts
    Member since:
    Oct 2008

    Posted 29 Aug 2009 Link to this post

    Hello,

    What do you mean two types of appointments?

    Thanks.
  6. SKS
    SKS avatar
    32 posts
    Member since:
    Aug 2009

    Posted 30 Aug 2009 Link to this post

    i have meetings data in one table and events data in another table.
    there is a calendar for an employee which shows all meetings and events that this employee is scheduled to attend.

    the radscheduler can be bound only to one datasource.how do i map the data from the 2 tables to show in the RADscheduler.
  7. Brian Mains
    Brian Mains avatar
    485 posts
    Member since:
    Oct 2008

    Posted 31 Aug 2009 Link to this post

    Union the two together using LINQ as one option:

    List<SchedulerAppointment> appointments = new List<SchedulerAppointments>();
    appointments.AddRange(from m in meetings
                                             select new SchedulerAppointment
                                             {
                                                 StartDate = ..,
                                                 ...
                                             });
    appointments.AddRange(from m in events
                                             select new SchedulerAppointment
                                             {
                                                 StartDate = ..,
                                                 ...
                                             });

    schedule1.Datasource = appointments;
    schedule1.DataBind();

    Or, you can use foreach looping to add to the appointments list.
  8. shanker bangari
    shanker bangari avatar
    106 posts
    Member since:
    Jan 2010

    Posted 08 Jan 2010 Link to this post

    Hi this is not working

    my code is 

     RadScheduler1.DataSource = Calendermanager.sch_view_calendar(Radcomclass.SelectedValue.GetInteger());
               
                RadScheduler1.DataBind();

    it,s not display the view 
Back to Top
UI for ASP.NET Ajax is Ready for VS 2017