SelectedAppt without selected slot

4 posts, 0 answers
  1. Wenjie
    Wenjie avatar
    35 posts
    Member since:
    Mar 2013

    Posted 23 Jul 2013 Link to this post

    Hi All

    When you Seletced a Appt the slot under this appt is not be selected.That`s mean when you using  CopyPaste if there are Appt(s) on a slot ,you can`t paste again.But DragDrop are woking if there are Appt(s) on a slot,you can drop again.

    Thanks

  2. Rosi
    Admin
    Rosi avatar
    2527 posts

    Posted 24 Jul 2013 Link to this post

    Hi,

    RadScheduleView is designed to unselect an Appointment when a Slot is selected and vice versa. 

    To give you more detailed instructions how to solve the described issue I need more information. That is why I suggest you send us sample running project and a short movie illustrating the problem and we will send you more detailed information and/or a solution.

    Regards,
    Rosi
    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. Wenjie
    Wenjie avatar
    35 posts
    Member since:
    Mar 2013

    Posted 24 Jul 2013 Link to this post

    Hi Rosi,

    Thanks.

    i am using this sample "http://www.telerik.com/community/forums/wpf/scheduleview/copy-paste-appointment-by-ctrl-c-ctrl-v-or-contextmenu.aspx"

    First creat 2 Appts,than copy one of them to another one.
  5. Rosi
    Admin
    Rosi avatar
    2527 posts

    Posted 25 Jul 2013 Link to this post

    Hello,

    I suggest you modify the CanExecutePaste method so the Paste button will be disabled when there aren't a selected slot.

    private bool CanExecutePaste(object parameter)
    {
        return parameter!=null && cutAppointments.Count > 0;
    }

    Regards,
    Rosi
    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