Select to view content in your preferred language

MapProgressBar not displaying

1000
2
08-09-2010 05:17 AM
PLadd
by
Frequent Contributor
Anyone ever have trouble with the MapProgressBar not displaying?  No error is shown (even using Fiddler).  It just doesn't work.  I even tried setting the Canvas.Zindex="100".  And it used to work just fine, until one day . . . . Not.

Here are the key parts that I'm using:
Silverlight 4
ArcGIS api 2.0

xmlns:esri="http://schemas.esri.com/arcgis/client/2009"

<!--Map Progress Bar-->
        <esri:MapProgressBar x:Name="MyProgressBar" Canvas.ZIndex="100"
   Map="{Binding ElementName=MyMap}"
   HorizontalAlignment="Center" VerticalAlignment="Bottom"
   Width="150" Height="12"
   Margin="5"  />
0 Kudos
2 Replies
AliMirzabeigi
Emerging Contributor
Given your code snippet it should be working fine. Have you checked whether the sizes of your Canvas width and height are set properly?
0 Kudos
PLadd
by
Frequent Contributor
I changed the VerticalAlignment="Bottom" property to VerticalAlignment="Center".  That was it.  Not sure how it got to be "Bottom" or why it didn't show at the bottom but it now works again.

Thanks.
0 Kudos