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

ScheduleViewDragDropBehavior XAML Error

2 Answers 24 Views
ScheduleView
This is a migrated thread and some comments may be shown as answers.
Brian
Top achievements
Rank 1
Veteran
Brian asked on 01 May 2020, 03:33 PM

When implementing ScheduleViewDragDropBehavior, the behavior performs correctly, but the XAML designer indicates "CustomScheduleViewDragDropBehavior is not a valid value for property 'DragDropBehavior'."

<telerik:RadScheduleView.DragDropBehavior>
    <ViewModels:CustomScheduleViewDragDropBehavior/>
</telerik:RadScheduleView.DragDropBehavior>

 

Regrards,

2 Answers, 1 is accepted

Sort by
0
Dinko | Tech Support Engineer
Telerik team
answered on 06 May 2020, 12:01 PM

Hi Brian,

Thank you for the provided code snippet.

I am assuming that you can run the application successfully, and the custom behavior is working correctly. This error comes from the VS designer, and it is not directly related to our controls. What you could try is to unload the project. Navigate to its folder location. Delete the bin and obj folders. Then load it again, clean and rebuild it. These steps should remove this error. You can also check our Resolving Design Time Errors help article for further information.

Regards,
Dinko
Progress Telerik

Progress is here for your business, like always. Read more about the measures we are taking to ensure business continuity and help fight the COVID-19 pandemic.
Our thoughts here at Progress are with those affected by the outbreak.
0
Brian
Top achievements
Rank 1
Veteran
answered on 06 May 2020, 12:27 PM

Thanks for the reply. I tried all of those steps, but is did not resolve the issue. However, I ended up removing the reference to the Telerik assembly and re-adding. This resolved the issue.

 

Thanks.

Tags
ScheduleView
Asked by
Brian
Top achievements
Rank 1
Veteran
Answers by
Dinko | Tech Support Engineer
Telerik team
Brian
Top achievements
Rank 1
Veteran
Share this question
or