troubleshooting Question

Ajax ModalPopupExtender and Google Map

Avatar of vbnewbie01
vbnewbie01 asked on
JavaScriptASP.NET
2 Comments1 Solution1893 ViewsLast Modified:
hi, there; using asp.net 2.0 (vb), i have placed a ModalPopupExtender on my page containing an asp.net panel and, within this, a google map.

first off, let me say that this map displays perfectly outside of the ModalPopupExtender however, when i place it inside and click the link to reveal the ModalPopupExtender, the google map does not display entirely (see image: http://www.gigantech.com/dkelly/modal.jpg)

i have scoured the net without much success but did happen to come across one poster who had a similar issue:

http://forums.asp.net/p/1091908/1848191.aspx

unfortunately, i am not using javascript as this poster is.  my data is pulled from sql server then attached via a procedure, to the google map.  that said, i still tried to use the poster's OpenModalPopup function but without success.

i'm wondering if anyone has had a similar issue or has any solutions to resolve what appears to be a bug.

thanks in advance.

<div>
       
        <asp:linkbutton ID="lbMap" runat="server">Click to see map</asp:linkbutton>
       
        <asp:Panel ID="panelMap" runat="server" CssClass="modalPopUp" style="display:none;">
        <div>
        <Reimers:GoogleMap ID="gmMap_lg" Width="600" Height="400" runat="server"/><br /><br />
        </div>
       
        <asp:Button ID="cmdOk" Text="Okay" runat="server" />&nbsp;
        <asp:Button ID="cmdCancel" Text="Cancel" runat="server" /><br />
       
        </asp:Panel>
       
        <ajaxToolkit:ModalPopupExtender ID="modalMap" OkControlID="cmdOk" CancelControlID="cmdCancel" BackgroundCssClass="modalBackground" DropShadow="true" runat="server" PopupControlID="panelMap" TargetControlID="lbMap"/>
       
        </div>
ASKER CERTIFIED SOLUTION
psodermans

Our community of experts have been thoroughly vetted for their expertise and industry experience.

Join our community to see this answer!
Unlock 1 Answer and 2 Comments.
Start Free Trial
Learn from the best

Network and collaborate with thousands of CTOs, CISOs, and IT Pros rooting for you and your success.

Andrew Hancock - VMware vExpert
See if this solution works for you by signing up for a 7 day free trial.
Unlock 1 Answer and 2 Comments.
Try for 7 days

”The time we save is the biggest benefit of E-E to our team. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange.

-Mike Kapnisakis, Warner Bros