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

[Solved] Accessing Categories From SchedulerDialog Edit Template

2 Answers 193 Views
ScheduleView
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
XamlmaX2
Top achievements
Rank 1
XamlmaX2 asked on 21 Feb 2011, 09:24 AM
I have create a custom Edit dialog for the scheduler, but I cannot access the CategoriesSource from the ScheduleView.

The datacontext for the dialog is an instance of a SchedulerDialogViewModel, which has a properties called Categories. I assumed this would be a copy of the CategoriesSource from the ScheduleView but it is always null. The ResourceTypes property is populated ok.

I want to be able to bind them to combobox (as in the normal dialog).

Thanks again.

<ControlTemplate x:Key="EditAppointmentTemplate" TargetType="telerikscheduleview:SchedulerDialog">
...

2 Answers, 1 is accepted

Sort by
0
George
Telerik team
answered on 22 Feb 2011, 03:09 PM
Hello,

 
Could you please send us a sample project that reproduces the problem? It would be very helpful in further pinpointing the problem.

Meanwhile, you could refer to the Miroslav Nedyalkov's blog post - http://blogs.telerik.com/miroslavnedyalkov/posts/10-11-25/how_to_create_custom_appointments_and_custom_appointment_dialog_in_telerik_scheduleview.aspx

Best wishes,
George
the Telerik team
Registration for Q1 2011 What’s New Webinar Week is now open. Mark your calendar for the week starting March 21st and book your seat for a walk through all the exciting stuff we ship with the new release!
0
XamlmaX2
Top achievements
Rank 1
answered on 23 Feb 2011, 04:06 PM
Thanks for the reply.
I looked at the custom appointments demo previously, but it does not create custom categories (and is for the WPF version).
Tags
ScheduleView
Asked by
XamlmaX2
Top achievements
Rank 1
Answers by
George
Telerik team
XamlmaX2
Top achievements
Rank 1
Share this question
or