troubleshooting Question

Ajax ModalPopupExtender and Google Map

Avatar of vbnewbie01
vbnewbie01 asked on
2 Comments1 Solution1893 ViewsLast Modified:
hi, there; using 2.0 (vb), i have placed a ModalPopupExtender on my page containing an 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:

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

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.

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

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