<?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 Re: 10.0 Engine for .NET TOCControl Group Layer Not Updating in ArcObjects SDK Questions</title>
    <link>https://community.esri.com/t5/arcobjects-sdk-questions/10-0-engine-for-net-toccontrol-group-layer-not/m-p/243222#M6306</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;sir i populate all the feature layer in toc but unable to group that layer please help me out&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 25 Aug 2020 14:49:34 GMT</pubDate>
    <dc:creator>HarshGupta</dc:creator>
    <dc:date>2020-08-25T14:49:34Z</dc:date>
    <item>
      <title>10.0 Engine for .NET TOCControl Group Layer Not Updating</title>
      <link>https://community.esri.com/t5/arcobjects-sdk-questions/10-0-engine-for-net-toccontrol-group-layer-not/m-p/243219#M6303</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I have a MapControl with an associated TOCControl as a buddy.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Working with the underlying map, I can add a group layer programmatically.&amp;nbsp; The group layer shows up properly in the TOC.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Later I programmatically add child groups underneath the group layer as well as feature layers.&amp;nbsp; When control returns back to the viewer, the features are rendered on the MapControl, but the original group layer is unchanged, as if there were no child layers.&amp;nbsp; I can interactively change the visibility of the group layer which hides/shows the underlying feature layers, but I can't actually get to them.&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;If the layers are added to the map prior to displaying the controls, the layers show up properly in the TOC.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I've tried the refresh method on both the map and TOC controls.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;[UPDATE:&amp;nbsp; Definitely an issue with groups.&amp;nbsp; If I add multiple group layers to the map itself, they show up in the TOC.&amp;nbsp; Layers under the group do not show in the TOC.]&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks in advance!&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; -- Glenn&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 30 Aug 2012 18:40:03 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcobjects-sdk-questions/10-0-engine-for-net-toccontrol-group-layer-not/m-p/243219#M6303</guid>
      <dc:creator>GlennNead</dc:creator>
      <dc:date>2012-08-30T18:40:03Z</dc:date>
    </item>
    <item>
      <title>Re: 10.0 Engine for .NET TOCControl Group Layer Not Updating</title>
      <link>https://community.esri.com/t5/arcobjects-sdk-questions/10-0-engine-for-net-toccontrol-group-layer-not/m-p/243220#M6304</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;After you add the layer to the group you can call Update on the TOC.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 30 Aug 2012 20:21:07 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcobjects-sdk-questions/10-0-engine-for-net-toccontrol-group-layer-not/m-p/243220#M6304</guid>
      <dc:creator>JohnHauck</dc:creator>
      <dc:date>2012-08-30T20:21:07Z</dc:date>
    </item>
    <item>
      <title>Re: 10.0 Engine for .NET TOCControl Group Layer Not Updating</title>
      <link>https://community.esri.com/t5/arcobjects-sdk-questions/10-0-engine-for-net-toccontrol-group-layer-not/m-p/243221#M6305</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;After you add the layer to the group you can call Update on the TOC.&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Time for me to go home for the day.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thank you.&amp;nbsp; I saw the refresh method on the control, but did not see the Update method.&amp;nbsp; That did the trick.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; -- Glenn&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 30 Aug 2012 20:56:14 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcobjects-sdk-questions/10-0-engine-for-net-toccontrol-group-layer-not/m-p/243221#M6305</guid>
      <dc:creator>GlennNead</dc:creator>
      <dc:date>2012-08-30T20:56:14Z</dc:date>
    </item>
    <item>
      <title>Re: 10.0 Engine for .NET TOCControl Group Layer Not Updating</title>
      <link>https://community.esri.com/t5/arcobjects-sdk-questions/10-0-engine-for-net-toccontrol-group-layer-not/m-p/243222#M6306</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;sir i populate all the feature layer in toc but unable to group that layer please help me out&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 25 Aug 2020 14:49:34 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcobjects-sdk-questions/10-0-engine-for-net-toccontrol-group-layer-not/m-p/243222#M6306</guid>
      <dc:creator>HarshGupta</dc:creator>
      <dc:date>2020-08-25T14:49:34Z</dc:date>
    </item>
  </channel>
</rss>

