We are rendering a mapview offscreen for printing purposes, as suggested by Rex Hansen.
We are waiting for the DrawStatus to be "Completed" before we continue with the process.
Our map has layers from an mmpk, and in the scenario I'm debugging, the DrawStatus never completes.
I don't have any other service layers, or even a basemap, so it should complete rather quickly.
Is there any other status I can check?
Is there anything else that would keep it from completing?
We have other similar mmpks with FeatureLayers that work just fine. The DrawStatusChanged event fires when expected.
I don't know why this mmpk would be any different. I added a basemap to see if that would help, and it doesn't.
Is there another way to tell when the map is fully drawn and ready for printing?
Like I said, we are doing exactly what Rex told us to do.
I am trying to reproduce the problem in a test application. So far, no luck.
There must be something that we are doing (layer visibility, multiple maps, etc.) that is contributing to the problem.
Once I can reproduce it, I'll let you know the story.