I included the code to create one of the layers below. However, I had an idea. The application I am creating is a tabbed application. So if a tab with a map on it is not opened is the layer ever initialized? I am wondering now if the issue is that the layer is never initialized because that tab was never opened. Could that be the case?<esri:FeatureLayer ID="MyTreePts" Url="xxxxxxxx" DisableClientCaching="True" Mode="OnDemand"
Where="COMPLETE_DATE IS NULL" Renderer="{StaticResource MyTreePtRenderer}" MouseLeftButtonDown="FeatureLayer_MouseLeftButtonDown">
<esri:FeatureLayer.Geometry>
<esri:Envelope XMin="-113" YMin="27" XMax="-97" YMax="48" >
<esri:Envelope.SpatialReference>
<esri:SpatialReference WKID="4326"/>
</esri:Envelope.SpatialReference>
</esri:Envelope>
</esri:FeatureLayer.Geometry>
<esri:FeatureLayer.OutFields>
<sys:String>OBJECTID</sys:String>
<sys:String>COMMENTS</sys:String>
<sys:String>GLOBALID</sys:String>
</esri:FeatureLayer.OutFields>
<esri:FeatureLayer.MapTip>
<Border CornerRadius="10" BorderBrush="#FF222957" BorderThickness="3" Margin="0,0,15,15">
<Border.Background>
<LinearGradientBrush EndPoint="1.038,1.136" StartPoint="0.015,0.188">
<GradientStop Color="#FFD1DFF2"/>
<GradientStop Color="#FF0088FF" Offset="0.946"/>
</LinearGradientBrush>
</Border.Background>
<Border.Effect>
<DropShadowEffect ShadowDepth="10" BlurRadius="14" Direction="300" />
</Border.Effect>
<StackPanel Margin="7">
<TextBlock Text="Tree Point Condition" Foreground="Black" />
<StackPanel Orientation="Horizontal">
<TextBlock Text="Comments: " Foreground="Black" />
<TextBlock Text="{Binding ConverterParameter=COMMENTS, Converter={StaticResource MyDictionaryConverter}, Mode=OneWay}" Foreground="Black" />
</StackPanel>
</StackPanel>
</Border>
</esri:FeatureLayer.MapTip>
</esri:FeatureLayer>