I am using ArcGIS Silverlight 1.2, Silverlight 3 and VS2008 SP1. I have a button which toggles the overview panel and the the overview panel is in another xmal. Does anyone know how to set the target via targetname if the target is in another xmal?
For example:
1) OverViewMapPanel is in MapView.xaml
<userControls:WindowPanel x:Name="OverviewMapPanel" >
2) I want to have a button in MainPage.xaml that toggles the visibility of OVerviewMapPanel. I tried the following code, but the compiler was not able to resolve the targetname.
<localViews:MapView x:Name="vwMap" />
<actions:ToggleVisibilityAction TargetName="vwMap.OverviewMapPanel" />
Thanks,
yin