Hi
I have placed ScheduleView in one RadPane and some other controls in another RadPane. Now I am able to drag and drop the Appointment to another RadPane or even on the border of the RadPane. After dropping the Appointment it removes from the ScheduleView but appears nowhere in the screen.
I have also created CustomDragDropBehaviour but while dropping the Appointment outside the ScheduleView the Drop event is not firing. Please let me know how I can restrict to drop the Appointment outside the ScheduleView.
Please check the attached code and image for reference.
Thanks,
Pushpendra
I have placed ScheduleView in one RadPane and some other controls in another RadPane. Now I am able to drag and drop the Appointment to another RadPane or even on the border of the RadPane. After dropping the Appointment it removes from the ScheduleView but appears nowhere in the screen.
I have also created CustomDragDropBehaviour but while dropping the Appointment outside the ScheduleView the Drop event is not firing. Please let me know how I can restrict to drop the Appointment outside the ScheduleView.
Please check the attached code and image for reference.
<
Grid
x:Name
=
"LayoutRoot"
Background
=
"White"
>
<
telerik:RadDocking
AllowUnsafeMode
=
"True"
>
<
telerik:RadDocking.DocumentHost
>
<
telerik:RadSplitContainer
Orientation
=
"Vertical"
>
<
telerik:RadPaneGroup
>
<
telerik:RadPane
Visibility
=
"Collapsed"
IsPinned
=
"True"
CanUserPin
=
"True"
CanFloat
=
"False"
CanUserClose
=
"False"
CanDockInDocumentHost
=
"False"
>
<
scheduleView:RadScheduleView
AppointmentsSource
=
"{Binding Appointments,Mode=OneWay}"
>
<
scheduleView:RadScheduleView.ViewDefinitions
>
<
scheduleView:WeekViewDefinition
MinorTickLength
=
"1h"
MajorTickLength
=
"1h"
TimerulerMajorTickStringFormat
=
"{}{0:HH:mm}"
TimerulerMinorTickStringFormat
=
"{}{0:HH:mm}"
DayStartTime
=
"{Binding ElementName=LayoutRoot, Path=DataContext.DayStartTime}"
DayEndTime
=
"{Binding ElementName=LayoutRoot, Path=DataContext.DayEndTime}"
>
</
scheduleView:WeekViewDefinition
>
<
scheduleView:MonthViewDefinition
/>
</
scheduleView:RadScheduleView.ViewDefinitions
>
</
scheduleView:RadScheduleView
>
</
telerik:RadPane
>
</
telerik:RadPaneGroup
>
<
telerik:RadPaneGroup
>
<
telerik:RadPane
Visibility
=
"Collapsed"
IsPinned
=
"True"
CanUserPin
=
"True"
CanFloat
=
"False"
CanUserClose
=
"False"
CanDockInDocumentHost
=
"False"
>
<
TextBlock
Text
=
"Another RadPane Area."
/>
</
telerik:RadPane
>
</
telerik:RadPaneGroup
>
</
telerik:RadSplitContainer
>
</
telerik:RadDocking.DocumentHost
>
</
telerik:RadDocking
>
</
Grid
>
Thanks,
Pushpendra