I use scalebar in TileMapServiceLayer, both the scalebar and map layers load well. But after I change the mapservice to DynamicMapServiceLayer, the scalebar and map layers both can't be loaded. Are there any advice in this problem. Thank you!
Wire up to the Map's ExtentChanged event to see if the Map changes Extent. Does the map extent change? See if adding an initial extent to the map makes a difference.