Table of Contents [Hide/Show]
Adding Localized data to the BaseMap Changing the Default extents Caching your service Setting up a Second DASH Expanding the Map Contents Window by Default
Protected Sub Page_PreRenderComplete(ByVal sender As Object, ByVal e As EventArgs) Handles MyBase.PreRenderComplete ' If no tasks have been defined, hide the tasks panel If TaskMenu.Items.Count = 0 Then Tasks_Menu_Panel.Visible = False ' check to see if any of the resource items are non-pooled If Not Page.IsCallback Or Not Page.IsPostBack Then CloseHyperLink.Visible = HasNonPooledResources() Dim ov As OverviewMap = Page.FindControl("OverviewMap1") If Not ov Is Nothing Then If Not OverviewMapResourceIsValid(ov) Then ov.OverviewMapResource = Map1.PrimaryMapResource End If End If Map1.Extent = New ESRI.ArcGIS.ADF.Web.Geometry.Envelope(-117.268, 32.71, -116.961, 32.91) End If CopyrightTextHolder.Visible = HasCopyrightText() End Sub 'Page_PreRenderComplete