Portal Engine Questions on portal engine and web parts.
Version 5.x > Portal Engine > Google map is not loaded in the update panel View modes: 
User avatar
Member
Member
nabraham-tibus - 2/3/2011 3:02:59 AM
   
Google map is not loaded in the update panel
Hi All

I am trying to load the Google map in the update panel, but it is not loaded when I post back the form.

Any one knows, any idea?

Thanks
Nibu

User avatar
Kentico Support
Kentico Support
kentico_jurajo - 2/7/2011 1:13:16 AM
   
RE:Google map is not loaded in the update panel
Hi,

Are you using the web part's property "Use update panel"?
Which form are you submitting?
Could you please describe us the web part settings and things around with more details?

Best regards,
Juraj Ondrus

User avatar
Member
Member
nabraham-tibus - 2/7/2011 7:40:13 AM
   
RE:Google map is not loaded in the update panel
Hi Juraj

Yes, I ticked the checkbox of 'Use update panel'. I am trying to reload the web parts using update panel.

In my update panel, there are some checkboxes and a hyper link , when the user tick the checkboxes and click the hyperlink, i wants to reload the Google map in the update panel.

I just displayed the current time in the panel , it is updated correctly. The problem is in Google map parts.

Thanks
Nibu

User avatar
Kentico Support
Kentico Support
kentico_jurajo - 2/9/2011 1:43:29 AM
   
RE:Google map is not loaded in the update panel
Hi,

What do you mean by "my update panel"? Are you using any custom one?
Could you please describe us your settings or code you are using in more details? Thank you.

Best regards,
Juraj Ondrus

User avatar
Member
Member
nabraham-tibus - 2/9/2011 3:01:49 AM
   
RE:Google map is not loaded in the update panel
Hi Juraj

The more info is below, so u will get clear idea now.

<asp:UpdatePanel ID="upLoadMap" runat="server" >
<ContentTemplate>

--- some check boxes ---
--- Hyper link: Show on map ---
if user select the checkboxes and click the hyper link, I wants to show the map in below DIV tag

<script type="text/javascript" src="http://maps.google.com/maps/api/js?sensor=false"></script>
<div id="map_canvas ">...Load Google map here.....</div>

</ContentTemplate>
</asp:UpdatePanel>

User avatar
Kentico Support
Kentico Support
kentico_jurajo - 2/9/2011 8:04:38 AM
   
RE:Google map is not loaded in the update panel
Hi,

I got it now. Regrettably, Google maps web part was not designed for this option. However, we will try to change its behavior to handle this in one of the next hotfixes. I am sorry for this inconvenience.

Best regards,
Juraj Ondrus

User avatar
Member
Member
nabraham-tibus - 2/9/2011 8:14:22 AM
   
RE:Google map is not loaded in the update panel
Thanks Juraj