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

Dynamic Data Loading in ScheduleView ChiildWindow

3 Answers 156 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.
Jovin
Top achievements
Rank 1
Jovin asked on 04 Apr 2012, 12:46 PM
I have two combo boxes(c1,c2) in Schedule View Childwindow.
 How i can populate c2 on change of c1??????

3 Answers, 1 is accepted

Sort by
0
Yana
Telerik team
answered on 09 Apr 2012, 09:06 AM
Hello Jovin,

We're not sure what exactly is your scenario. Do you have a custom EditAppointmentDIalog? Can you explain in more details?

Kind regards,
Yana
the Telerik team

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

0
Jovin
Top achievements
Rank 1
answered on 10 Apr 2012, 10:51 AM

Hello Yana,

Yes i do have a custom EditappointmentDialog,Its implemented as below

<ControlTemplate x:Key="EditAppointmentTemplate" TargetType="schedule:SchedulerDialog">

<MyViews:AppointmentSaveCW/>

</ControlTemplate>

 

<Style x:Key="EditAppointmentDialogStyle" TargetType="telerik:SchedulerDialog">

<Setter Property="Template" Value="{StaticResource EditAppointmentTemplate}" />

</Style>

 

I am using Custom Entity for binding appointments as well,which implements Telerik.Windows.Controls.ScheduleView.Appointment

In my custom entity there are two properties State & City which are of type List<string>.

I am binding the two properties to two ComboBoxes C1 & C2 in my Custom EditAppointmentDialog View

My scenario is like,

Combobox C2 must be populated on change of combobox C1.

How we can implement the same.

Best Regards,

Jovin

0
Yana
Telerik team
answered on 12 Apr 2012, 02:50 PM
Hi Jovin,

I've attached an example project which demonstrates how you can implement cascade comboboxes in a custom EditAppointmentDialog of the RadScheduleView. Basically we're changing the ViewModel of the dialog, so  now you can access all the default properties from DialogViewModel property.

Please download the attachment and give it a try,

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
Jovin
Top achievements
Rank 1
Answers by
Yana
Telerik team
Jovin
Top achievements
Rank 1
Share this question
or