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

Access to scheduleView in appointment editor view model

1 Answer 75 Views
ScheduleView
This is a migrated thread and some comments may be shown as answers.
Matthias
Top achievements
Rank 1
Matthias asked on 20 Jan 2012, 08:56 AM
Hi,

i have implemented a custom appointment editor dialog using the dialog host factory. Now i need access to the scheduleview instance from within the viewmodel of my appointment editor dialog. Especially i need to know from which viewdefinition (month, day, week...) the dialog was started so i can set the start and end dates appropriately.
I saw that the original appointmentdialogviewmodel (from which i have an instance in my custom editor viewmodel) has a property called DialogHost and this property has another property "ScheduleView" which is in fact the instance i need access to. However the "DialogHost" property on the appointmentDialogViewModel is protected so i can't access it within my viewmodel.
How can i get access to the scheduleview instance from within my custom view model?

best regards

matthias

1 Answer, 1 is accepted

Sort by
0
Yana
Telerik team
answered on 26 Jan 2012, 10:30 AM
Hello Matthias,

Could you please provide us some sample code, so we to be able to understand your exact scenario? Thanks in advance

Kind regards,
Yana
the Telerik team

Explore the entire Telerik portfolio by downloading the Ultimate Collection trial package. Get it now >>

Tags
ScheduleView
Asked by
Matthias
Top achievements
Rank 1
Answers by
Yana
Telerik team
Share this question
or