<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic How to set Enable/Disable property for a sublayer of an ArcGISDynamicMapServiceLayer? in ArcGIS API for Silverlight Questions</title>
    <link>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/how-to-set-enable-disable-property-for-a-sublayer/m-p/9309#M174</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp; I have a layers collection of type FeatureLayer and DynamicMapServiceLayers to show in a map from a Silverlight app. To be able to achieve the popup behavior in the current map, for the layers of FeatureLayer types I run the command (the code is in C#): ESRI.ArcGIS.Client.Extensibility.LayerProperties.SetIsPopupEnabled(mLayer, true); This is working and I have the popup shown once I clicked an element from this layer in the map.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; The layer of type DynamicMapServiceLayers contains 2 sublayers. Executing the previous command for this layer is not enough. I presume that I have to enable the same behavior for these 2 sublayers, but I don't know how. &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp; Can you please help? Thank you.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 07 Oct 2013 08:52:24 GMT</pubDate>
    <dc:creator>CatalinBrad</dc:creator>
    <dc:date>2013-10-07T08:52:24Z</dc:date>
    <item>
      <title>How to set Enable/Disable property for a sublayer of an ArcGISDynamicMapServiceLayer?</title>
      <link>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/how-to-set-enable-disable-property-for-a-sublayer/m-p/9309#M174</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp; I have a layers collection of type FeatureLayer and DynamicMapServiceLayers to show in a map from a Silverlight app. To be able to achieve the popup behavior in the current map, for the layers of FeatureLayer types I run the command (the code is in C#): ESRI.ArcGIS.Client.Extensibility.LayerProperties.SetIsPopupEnabled(mLayer, true); This is working and I have the popup shown once I clicked an element from this layer in the map.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; The layer of type DynamicMapServiceLayers contains 2 sublayers. Executing the previous command for this layer is not enough. I presume that I have to enable the same behavior for these 2 sublayers, but I don't know how. &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp; Can you please help? Thank you.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 07 Oct 2013 08:52:24 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/how-to-set-enable-disable-property-for-a-sublayer/m-p/9309#M174</guid>
      <dc:creator>CatalinBrad</dc:creator>
      <dc:date>2013-10-07T08:52:24Z</dc:date>
    </item>
  </channel>
</rss>

