aafgilbert01

performance problem to check and uncheck individual layer

Discussion created by aafgilbert01 on Aug 29, 2012
Latest reply on Aug 30, 2012 by MBranscomb-esristaff
Hello,

I have built a very simple map application that is using the legend control that is available from the "ESRI.ArcGis.Client.Toolkit" assembly. When I am using the "Legend.MapLayerTemplate" that allows to make appear or dissapear the main layer with all sublayer at the same time, the operation is fast which is good. However, when I am using the "Lengend.LayerTemplate", that allow each layer and sublayer to appear or dissapear individually, the operation is 10 times slower.

What does make both method to have such a significant performance difference.

Outcomes