Appointments in radScheduler according to date selected from radCalender

5 posts, 0 answers
  1. Shruti
    Shruti avatar
    11 posts
    Member since:
    Nov 2010

    Posted 06 Dec 2010 Link to this post

    Hello,
             I want to display the appointments in the radSchedular according to the date selected from radCalender.
             how to bind the day view of rad scheduler with the date selected from radCalender?

     How can i do this?

  2. Richard Slade
    Richard Slade avatar
    3000 posts
    Member since:
    May 2009

    Posted 07 Dec 2010 Link to this post

    Hello Shruti, 

    Please have a look at the following links which will helop you with databinding the RadScheduler. 

    Databinding Radscheduler Introduction (Documentation)
    Databinding RadScheduler for WinForms (Blog)
    Codeless Databinding for RadScheduler (Telerik TV)

    If you need further help, please let me know. 
    Thanks
    Richard
  3. UI for WinForms is Visual Studio 2017 Ready
  4. Richard Slade
    Richard Slade avatar
    3000 posts
    Member since:
    May 2009

    Posted 07 Dec 2010 Link to this post

    Hello again,

    I've also spotted this link which will help
    loading data for selected day only

    Hope that helps
    Richard
  5. Richard Slade
    Richard Slade avatar
    3000 posts
    Member since:
    May 2009

    Posted 08 Dec 2010 Link to this post

    Hi,

    How did you get on with this? If it helped, please remember to mark as answer.
    Thanks
    Richard
  6. Dobry Zranchev
    Admin
    Dobry Zranchev avatar
    348 posts

    Posted 13 Dec 2010 Link to this post

    Hi Shruti,

    Thank you for writing.

    In order to synchronize RadCalendar with the RadScheduler, you have to subscribe to the SelectedValueChanged event of the RadCalendar. In this event you can apply the selected value to the StartDate of the ActiveView in the RadScheduler.
    void radCalendar1_SelectionChanged(object sender, EventArgs e)
    {
        if (this.radCalendar1.SelectedDates.Count > 0)
        {
            this.radSchedulerDemo.ActiveView.StartDate = this.radCalendar1.SelectedDate;
        }
    }

    In case that you have other questions, feel free to write us back.

    All the best,
    Dobry Zranchev
    the Telerik team
    Get started with RadControls for WinForms with numerous videos and detailed documentation.
Back to Top
UI for WinForms is Visual Studio 2017 Ready