Layer initialization failure

2743
2
12-28-2011 05:05 AM
BenSher1
New Contributor
I have a few layers that don't initialize 50% of the time. Does anyone have any suggestions for a good way to reinitialize without the user needing to refresh the application?
0 Kudos
2 Replies
DominiqueBroux
Esri Frequent Contributor
Unfortunately most of the layers don't support a second initialization try.

The only way is to create a new layer with the same properties and replace the old one by the new in the map.
0 Kudos
ChrisSmith
New Contributor
had same question...
http://forums.arcgis.com/threads/42568-layer.IsInitialized-and-InititializationFailure-event
end of thread explains the approach I took.

chris
0 Kudos