Sync between Categories and own Resource

4 posts, 0 answers
  1. ITA
    ITA avatar
    383 posts
    Member since:
    Aug 2009

    Posted 27 Aug 2013 Link to this post

    Hi,

    as you can see on the attached file, i have a category "Aufgabe" and a Resource called "Art" which contains the same items
    like "Urlaub". Now i want to Change the Category and i want to Change the Resource item too. Same way if i Change the Resource Item
    the category item should change too.

    Thanks
    Best Regards
    Rene
  2. Yana
    Admin
    Yana avatar
    4554 posts

    Posted 30 Aug 2013 Link to this post

    Hello Rene,

    This is not so easy to achieve as the EditAppointmentDialog is designed in such a way that when an appointment property is updated, it does not notify the UI - it is implemented like this in order to avoid editing the appointment before OK button is clicked.

    We have prepared a Code Library project which demonstrates how to achieve the needed approach, you can check it at the following link:
    http://www.telerik.com/community/code-library/wpf/scheduleview/how-to-create-advanced-custom-editapointmentdialog.aspx

    Regards,
    Yana
    Telerik
    TRY TELERIK'S NEWEST PRODUCT - EQATEC APPLICATION ANALYTICS for WPF.
    Learn what features your users use (or don't use) in your application. Know your audience. Target it better. Develop wisely.
    Sign up for Free application insights >>
  3. UI for WPF is Visual Studio 2017 Ready
  4. ITA
    ITA avatar
    383 posts
    Member since:
    Aug 2009

    Posted 01 Sep 2013 Link to this post

    Hi,

    thanks for the Link, but i can't get the example running.

    Fehler    5    Das Tag "InvertedBooleanConverter" ist im XML-Namespace "clr-namespace:Telerik.Windows.Controls;assembly=Telerik.Windows.Controls.ScheduleView" nicht vorhanden. Zeile 18 Position 4.    C:\Users\Rene\Desktop\TEST\MainWindow.xaml    18    4    ScheduleViewAdvancedEditAppointmentDialogWPF

    Fehler    3    Der Name "CustomDialogViewModel" ist im Namespace "clr-namespace:ScheduleViewAdvancedEditAppointmentDialogWPF" nicht vorhanden.    C:\Users\Rene\Desktop\TEST\MainWindow.xaml    28    6    ScheduleViewAdvancedEditAppointmentDialogWPF

    Fehler    2    Der Name "InvertedBooleanConverter" ist im Namespace "clr-namespace:Telerik.Windows.Controls;assembly=Telerik.Windows.Controls.ScheduleView" nicht vorhanden.    C:\Users\Rene\Desktop\TEST\MainWindow.xaml    18    3    ScheduleViewAdvancedEditAppointmentDialogWPF

    Fehler    1    Der Name "MyViewModel" ist im Namespace "clr-namespace:ScheduleViewAdvancedEditAppointmentDialogWPF" nicht vorhanden.    C:\Users\Rene\Desktop\TEST\MainWindow.xaml    9    3    ScheduleViewAdvancedEditAppointmentDialogWPF

    Fehler    4    Typ 'local:InvertedBooleanConverter' wurde nicht gefunden. Stellen Sie sicher, dass keine Assemblyreferenz fehlt, und dass alle referenzierten Assemblys erstellt wurden.    C:\Users\Rene\Desktop\TEST\MainWindow.xaml    18    4    ScheduleViewAdvancedEditAppointmentDialogWPF

    Thanks
    Best Regards
    Rene
  5. Yana
    Admin
    Yana avatar
    4554 posts

    Posted 04 Sep 2013 Link to this post

    Hi Rene,

    Please replace the following:

    <local:InvertedBooleanConverter x:Key="InvertedBooleanConverter" />

    with:
    <telerik:InvertedBooleanConverter x:Key="InvertedBooleanConverter" />

    This should fix the described issues. You can read more about this change here.

    Regards,
    Yana
    Telerik
    TRY TELERIK'S NEWEST PRODUCT - EQATEC APPLICATION ANALYTICS for WPF.
    Learn what features your users use (or don't use) in your application. Know your audience. Target it better. Develop wisely.
    Sign up for Free application insights >>
Back to Top