Common Extend tasks
Common_ExtendTasks_CSharp\FindAddressTaskWebSite.aspx.cs
// Copyright 2010 ESRI
// 
// All rights reserved under the copyright laws of the United States
// and applicable international laws, treaties, and conventions.
// 
// You may freely redistribute and use this sample code, with or
// without modification, provided you include the original copyright
// notice and use restrictions.
// 
// See the use restrictions.
// 

using System;
using System.Data;
using System.Configuration;
using System.Collections;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Web.UI.HtmlControls;

public partial class FindAddressTaskWebSite : System.Web.UI.Page
{    
    protected void Page_PreRender(object sender, EventArgs e)
    {
        if (!IsPostBack)
        {
            ESRI.ArcGIS.ADF.Web.Geometry.Envelope bloomingField = new ESRI.ArcGIS.ADF.Web.Geometry.Envelope(-83.3337801950437, 42.5314716926848, -83.2476061838133, 42.6123242012297);
            Map1.Extent = bloomingField;

        }
    }
   
}