Hello,
I have a RadTreeView and I want to drag an item onto a ContentPresenter which contains a RadHtmlPlaceHolder. I have wrapped the ContentPresenter in a StackPanel, so I have
The stack panel is one pixel wider that the HTML contents. The drag works OK, I can catch the OnDropQuery event as soon as the StackPanel picks it up. As the mouse moves over the HTML, Silverlight is no longer receiving the mouse events (IFrame and all that). What I want to do is simulate a drop in the RadHtmlPlaceHolder by releasing the drag. Otherwise, when the RadHtmlPlaceHolder loses focus, the Silverlight app behind still thinks we have yet to drop the item.
Any ideas?
Cheers,
Paul
I have a RadTreeView and I want to drag an item onto a ContentPresenter which contains a RadHtmlPlaceHolder. I have wrapped the ContentPresenter in a StackPanel, so I have
<
StackPanel
x:Name
=
"unityBorder"
Grid.Column
=
"2"
Width
=
"602"
Height
=
"452"
telerik:RadDragAndDropManager.AllowDrop
=
"True"
>
<
ContentPresenter
x:Name
=
"myContentPresenter"
>
<
telerik:RadHtmlPlaceholder
x:Name
=
"myHtmlPlaceholder"
.... />
</
ContentPresenter
>
</
StackPanel
>
The stack panel is one pixel wider that the HTML contents. The drag works OK, I can catch the OnDropQuery event as soon as the StackPanel picks it up. As the mouse moves over the HTML, Silverlight is no longer receiving the mouse events (IFrame and all that). What I want to do is simulate a drop in the RadHtmlPlaceHolder by releasing the drag. Otherwise, when the RadHtmlPlaceHolder loses focus, the Silverlight app behind still thinks we have yet to drop the item.
Any ideas?
Cheers,
Paul