I create map with basemap and then add mapservice as a ArcGISDynamicMapServiceLayer in my code.
I have coded as given in following example for zoomToFullExtent.
Map navigation tools | ArcGIS API for JavaScript
The issue here is a basemap layer is added first so, if I use navToolbar.zoomToFullExtent then basemap layer's full extent is calculated and displayed. Is there any way to show dynamic layer's full extent when basemap is available?