Invisible GoogleMaps Control in UpdatePanel

Oct 21, 2008 at 10:15 AM
Hello!

I have following problem. My GoogleControl is inside an UpdatePanel and do curious things. If I set the Panel1.Visible attribute to "true" the whole site try to load some content from maps.google.com by (I think) a Redirect. The Site stay white an nothing happen. Before the redirect happen I can see my Control a short time.

<asp:ScriptManager ID="ScriptManager1" runat="server"></asp:ScriptManager>
        <asp:UpdatePanel ID="UpdatePanel1" runat="server">
            <ContentTemplate>
                <asp:Button ID="Button1" runat="server" OnClick="Button1_Click" Text="Button" />
                <asp:Panel ID="Panel1" runat="server" Visible="False">
                    <cc1:GoogleMap ID="GoogleMap1" runat="server" Height="300px" Width="300px" Zoom="13" Key="MyKey" OnDragEnd="GoogleMap1_DragEnd" Address="Chemnitz" InsideUpdatePanel="True" DefaultMapView="Normal"></cc1:GoogleMap>
                </asp:Panel>
            </ContentTemplate>
        </asp:UpdatePanel>
    </form>

In Codebehind I only set the visible attribute of the to the Panel1 to "true".

Following Requests were sendet:

http://maps.google.com/maps?file=api&v=2.x&key=ABQIAAAAgjYwYDWZVPObjHPqI9J2fxSXIxMpeUk2kAPmFehjtFpeTisurhRVo7TxOCayQD1ZgCYZtnrknc6sCQ

GET /maps?file=api&v=2.x&key=ABQIAAAAgjYwYDWZVPObjHPqI9J2fxSXIxMpeUk2kAPmFehjtFpeTisurhRVo7TxOCayQD1ZgCYZtnrknc6sCQ HTTP/1.1
Host: maps.google.com
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; de; rv:1.9.0.3) Gecko/2008092417 Firefox/3.0.3
Accept: */*
Accept-Language: de-de,de;q=0.8,en-us;q=0.5,en;q=0.3
Accept-Encoding: gzip,deflate
Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7
Keep-Alive: 300
Connection: keep-alive
Referer: http://localhost:3902/Modules/VAKalender/Spielwiese.aspx
Cookie: PREF=ID=8635cda647829c11:TM=1207842318:LM=1223395644:GM=1:S=0YuA1VcRyajrxSAg; NID=16=I7djhOjpqJ0bs3pt3u-7l_umDCf7AYK26V3OVRfFQv6f7Ct76DQU1a5fyUakVcIncVl3naucSAvJLNWp19z1slXNRlLhhAPZ73-hS5Aqw97DMrmfQblmoGj032xUCrCD; SID=DQAAAIoAAADgK33_izELqm-n9EDfkTcGeRnoBlOZZP8jC-X2MBmBs3f87a8bgWz0AHMnnQ3W_l6Fx-pQywsk4asb3lGwNRlLxuxY20zoQ-vxQqB_pZDk37ZYVy5CfxF42cTmlWdRhUS-BJA813fQeR6qZkHQUnZEE-H38iD6Es3pqUW6RPgsolYkf6tte25vS3ujKqiVusE; rememberme=true; __utmx=173272373.00000983192309928271:2:; __utmxx=173272373.00000983192309928271:1223298654:2592000; TZ=-120

HTTP/1.x 200 OK
Content-Type: text/javascript; charset=UTF-8
Content-Encoding: gzip
Date: Tue, 21 Oct 2008 10:12:40 GMT
Server: mfe
Cache-Control: private, x-gzip-ok=""
Content-Length: 3741
X-Cache: MISS from ipcop.ctv
Connection: keep-alive
----------------------------------------------------------
http://news.google.com/news?hl=de&ned=de&q=Linux&ie=UTF-8&nolr=1&output=rss

GET /news?hl=de&ned=de&q=Linux&ie=UTF-8&nolr=1&output=rss HTTP/1.1
Host: news.google.com
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; de; rv:1.9.0.3) Gecko/2008092417 Firefox/3.0.3
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
Accept-Language: de-de,de;q=0.8,en-us;q=0.5,en;q=0.3
Accept-Encoding: gzip,deflate
Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7
Keep-Alive: 300
Connection: keep-alive
X-Moz: livebookmarks
Cookie: PREF=ID=8635cda647829c11:TM=1207842318:LM=1223395644:GM=1:S=0YuA1VcRyajrxSAg; NID=16=I7djhOjpqJ0bs3pt3u-7l_umDCf7AYK26V3OVRfFQv6f7Ct76DQU1a5fyUakVcIncVl3naucSAvJLNWp19z1slXNRlLhhAPZ73-hS5Aqw97DMrmfQblmoGj032xUCrCD; SID=DQAAAIoAAADgK33_izELqm-n9EDfkTcGeRnoBlOZZP8jC-X2MBmBs3f87a8bgWz0AHMnnQ3W_l6Fx-pQywsk4asb3lGwNRlLxuxY20zoQ-vxQqB_pZDk37ZYVy5CfxF42cTmlWdRhUS-BJA813fQeR6qZkHQUnZEE-H38iD6Es3pqUW6RPgsolYkf6tte25vS3ujKqiVusE; rememberme=true; __utmx=173272373.00000983192309928271:2:; __utmxx=173272373.00000983192309928271:1223298654:2592000; TZ=-120
Cache-Control: max-age=0

HTTP/1.x 200 OK
Content-Type: text/xml; charset=UTF-8
Content-Encoding: gzip
Date: Tue, 21 Oct 2008 10:12:44 GMT
Server: NFE/1.0
Cache-Control: private, x-gzip-ok=""
Content-Length: 4467
X-Cache: MISS from ipcop.ctv
Connection: keep-alive
----------------------------------------------------------
https://mail.google.com/mail/channel/bind?at=xn3j318ydyb0xynvozigt7pv8il53c&VER=6&it=1753571&RID=rpc&SID=D3F6F0E1EAD269C0&CI=0&AID=88&TYPE=xmlhttp&zx=vjr0ihvd23eo&t=1

GET /mail/channel/bind?at=xn3j318ydyb0xynvozigt7pv8il53c&VER=6&it=1753571&RID=rpc&SID=D3F6F0E1EAD269C0&CI=0&AID=88&TYPE=xmlhttp&zx=vjr0ihvd23eo&t=1 HTTP/1.1
Host: mail.google.com
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; de; rv:1.9.0.3) Gecko/2008092417 Firefox/3.0.3
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
Accept-Language: de-de,de;q=0.8,en-us;q=0.5,en;q=0.3
Accept-Encoding: gzip,deflate
Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7
Keep-Alive: 300
Connection: keep-alive
Referer: https://mail.google.com/mail/?ui=2&view=js&name=js&ver=-IIHovSw7Ho&am=X_E4pcT3YCGBuquCJQ
Cookie: GXSP=S; GX=DQAAAIwAAADRMWGSCKT44tsnAwvJOGecBpuHj4AE7G2jWi02U1gMs-slkYXaM7Dpf82JS6-FdSXGF8wGzgZk3Bar40wEFpYJPlFcVZPPlcTOop81Oq-8fhvdqShzvEJUMIJ-dGDrPH5_UAhe5cdGi6ycTi4K5DkJfGOdomqpcbg_gCiMcITXchVXq1PN7Ie3hcCFnZezpDU; gmailchat=nerothnis@googlemail.com/187368; S=gmail=yRjIpwRULZURDXyWUL4lNg:gmail_yj=tlp-2f6loHA1kbjR6-szqA:gmproxy=VymrscdST48:gmproxy_yj=q2LjLBxMxDM:gmproxy_yj_sub=xB56zxZ06o4; GMAIL_AT=xn3j318ydyb0xynvozigt7pv8il53c; PREF=ID=8635cda647829c11:TM=1207842318:LM=1223395644:GM=1:S=0YuA1VcRyajrxSAg; NID=16=I7djhOjpqJ0bs3pt3u-7l_umDCf7AYK26V3OVRfFQv6f7Ct76DQU1a5fyUakVcIncVl3naucSAvJLNWp19z1slXNRlLhhAPZ73-hS5Aqw97DMrmfQblmoGj032xUCrCD; SID=DQAAAIoAAADgK33_izELqm-n9EDfkTcGeRnoBlOZZP8jC-X2MBmBs3f87a8bgWz0AHMnnQ3W_l6Fx-pQywsk4asb3lGwNRlLxuxY20zoQ-vxQqB_pZDk37ZYVy5CfxF42cTmlWdRhUS-BJA813fQeR6qZkHQUnZEE-H38iD6Es3pqUW6RPgsolYkf6tte25vS3ujKqiVusE; rememberme=true; __utmx=173272373.00000983192309928271:2:; __utmxx=173272373.00000983192309928271:1223298654:2592000; TZ=-120; GMAIL_HELP=hosted:0

HTTP/1.x 200 OK
Cache-Control: no-cache
Pragma: no-cache
Expires: Fri, 01 Jan 1990 00:00:00 GMT
Content-Type: text/plain; charset=utf-8
Transfer-Encoding: chunked
X-Content-Type-Options: nosniff
Date: Tue, 21 Oct 2008 10:12:47 GMT
Server: GFE/1.3

What can i do to solve this problem?
Oct 18, 2012 at 1:33 PM

I'm having same problem with you control works fine in chrome but invisible on mozilla