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

Appointments in radScheduler according to date selected from radCalender

4 Answers 174 Views
Scheduler and Reminder
This is a migrated thread and some comments may be shown as answers.
Shruti
Top achievements
Rank 1
Shruti asked on 06 Dec 2010, 11:59 PM
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?

4 Answers, 1 is accepted

Sort by
0
Richard Slade
Top achievements
Rank 2
answered on 07 Dec 2010, 11:32 AM
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
0
Richard Slade
Top achievements
Rank 2
answered on 07 Dec 2010, 12:19 PM
Hello again,

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

Hope that helps
Richard
0
Richard Slade
Top achievements
Rank 2
answered on 08 Dec 2010, 06:17 PM
Hi,

How did you get on with this? If it helped, please remember to mark as answer.
Thanks
Richard
0
Dobry Zranchev
Telerik team
answered on 13 Dec 2010, 01:12 PM
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.
Tags
Scheduler and Reminder
Asked by
Shruti
Top achievements
Rank 1
Answers by
Richard Slade
Top achievements
Rank 2
Dobry Zranchev
Telerik team
Share this question
or