You do not need the TOC to tell you which layer is visible. For service level layer, you should be using Layer.visible. For layers underneath a dynamic map service, use ArcGISDynamicMapServiceLayer.visibleLayers. In fact ,I have met a problem about the Toc control developed by nLiu. using the win7 as my server, i found my app normal in chrome, firefox and ie. however,it is abnormal in ie when on the windows 2008 iis server. i can't figiure out it. I report this to nliu ,maybe you can fix it next. thanks
... View more