AnsweredAssumed Answered

Identify - exclude tabs / contentpanes with no features returned

Question asked by davidboyd on Jan 30, 2013
Latest reply on Mar 1, 2013 by davidboyd
I'm working on a webmap that identifies on 10 layers in a dynamicmapservice.  The results are displayed in a tabcontainer with 10 tabs or contentpanes.  I'm trying to exclude or hide the tabs or contantpanes where no results are returned.  So...if the user clicks the map and only two layers include features at that location, only 2 tabs will appear in the popup (instead of all 10).  I thought I could edit the code for each layer in the layertabcontent function, but my attempts have failed so far.

Any help is appreciated.  I'll attach the complete code as a Word file.

Attachments

Outcomes