Select to view content in your preferred language

Draggable Window

710
5
06-04-2010 08:15 AM
DanDulan
Emerging Contributor
I am trying to use the the DraggableWindow control from Silverlight Showcase Application in my application (using Silverlight Bussiness Application template).
The problem I have is that if I drag the control over the navigation grid (on top of the page) the control goes under the border and I can't get it back.
0 Kudos
5 Replies
DeminHu
Deactivated User
After read your post, I tested one of my old application which started from Showcase sample, it was fine for me.

I think the problem may not from dragablewindow, try to change your layout, for example, put map, Nav gird, dragable window on the same parent Grid to see if it will work.
0 Kudos
DanDulan
Emerging Contributor
Thanks Demin!
I have a main page as a starting page and three views.
On the main page I have a frame to handle the navigation, a border around a logo and  three hiperlink buttons.
On each view I use draggable window controls and they function fine regarding the rest of the view but they go under the controls on the main page.
I looked into the draggable window code and the MouseLeftButtonDown event is hooked to the Application.Current.RootVisual.MouseMove.


I have noticed the some of  sample websites posted on Code Gallery have the same problem.
0 Kudos
ManojrajTeli
Deactivated User
So anyone found the solution...???Because i am also finding the same problem...
0 Kudos
JenniferNery
Esri Regular Contributor
Can you share the StackTrace with us? Thanks.
0 Kudos
ManojrajTeli
Deactivated User
Thanks Jennifer Nery i feagured out the solution.I just wrote the statement "<ResourceDictionary Source="/"[APPLICATION SOLUTION NAME]";component/UserControls/CollapsiblePanel.xaml" />" in Themes/generic.xaml file.
0 Kudos