Dynamic Data Loading in ScheduleView ChiildWindow

4 posts, 0 answers
  1. Jovin
    Jovin avatar
    2 posts
    Member since:
    Mar 2012

    Posted 04 Apr 2012 Link to this post

    I have two combo boxes(c1,c2) in Schedule View Childwindow.
     How i can populate c2 on change of c1??????

  2. Yana
    Admin
    Yana avatar
    4554 posts

    Posted 09 Apr 2012 Link to this post

    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 >>

  3. DevCraft banner
  4. Jovin
    Jovin avatar
    2 posts
    Member since:
    Mar 2012

    Posted 10 Apr 2012 Link to this post

    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

  5. Yana
    Admin
    Yana avatar
    4554 posts

    Posted 12 Apr 2012 Link to this post

    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 >>

Back to Top