Forum:
I got a terrible bug I guess so. I'm using a ext.net controls and Map component called ASPMAP (http://www.vdsgeo.com/aspmap.aspx). We want to use ext.net controls becasuse have a pretty nice presentation. We already got a version, but is not with ext.net, are .net controls native.

Please for run this example, firts you need to download it the trial version at ASPMAP.


Html:
<head runat="server">
    <title></title>
</head>
<body>
    <form id="form1" runat="server">
        <ext:ResourceManager runat="server" ID="resourceExtManager" DisableViewState="false">
        </ext:ResourceManager>
        <asp:ScriptManager runat="server" EnablePageMethods="true">
        </asp:ScriptManager>
        <ext:Viewport runat="server" Layout="BorderLayout">
            <Items>
                <ext:Panel runat="server" Region="Center">
                    <Items>
                        <ext:Panel
                            runat="server" Height="150"
                            Title="Mapa" Border="false">
                            <Content>
                                <asp:UpdatePanel ID="UpdatePanel1" runat="server" UpdateMode="Conditional">
                                    <ContentTemplate>
                                        <ext:Button ID="full" runat="server" Icon="MagnifierZoomIn" AutoPostBack="true" Width="30" OnClick="full_Click"></ext:Button>
                                    </ContentTemplate>
                                </asp:UpdatePanel>
                            </Content>
                        </ext:Panel>
                    </Items>
                </ext:Panel>
            </Items>
        </ext:Viewport>
        <br />
        <br />
        <br />
        <br />
        <br />
        <div id="dvMaps">
            <asp:UpdatePanel ID="UpdatePanel2" runat="server" UpdateMode="Conditional">
                <ContentTemplate>
                    <aspmap:Map ID="Map" runat="server" MapTool="Pan" ImageFormat="Png" ImageTempDirectory="/Temps" />
                    <aspmap:ZoomBar ID="ZoomBar2" runat="server" Position="TopLeft" Map="Map" />
                </ContentTemplate>
            </asp:UpdatePanel>
        </div>
    </form>
</body>
</html>
VB:
Protected Sub Page_Load(sender As Object, e As EventArgs) Handles Me.Load
        AddLayer()
    End Sub
    Private Sub AddLayer()
        Map.AddLayer(MapPath("Mapa/Peru2.shp"))
    End Sub
    Protected Sub full_Click(sender As Object, e As EventArgs)
        Map.ZoomFull()
        UpdatePanel2.Update()
    End Sub