This is a migrated thread and some comments may be shown as answers.

GoogleMap within a RADAJAXPanel

1 Answer 42 Views
Ajax
This is a migrated thread and some comments may be shown as answers.
Vinay
Top achievements
Rank 1
Vinay asked on 01 Dec 2008, 09:39 AM
Hi,
    I have a master page where in the RADAJAXPanel is present and a content page wherein the google map and few RadComboBoxes are present.
The Scenario is as follows :
1) The RADComboBoxes have a list of cities populated.
2)The GoogleMap creates a marker on the map based on the city selected (based on Latitudes and Longitudes of the city).

The Problems faced :
   1) On the first/Initial load of the page the map works fine with the marker.
   2) whenever a different city is selected from the combbox Auto post back is triggered. The map disappears .....
   3) Without RADAJAXPanel the map works fine even after a different city is selected.... , But when RadAjaxPanel is used   the GoogleMap disappears.....
Why is it so happening??
Can you suggest me a Solution for the same...
Thanks & Regards,
Vinay Manvi

1 Answer, 1 is accepted

Sort by
0
Vlad
Telerik team
answered on 01 Dec 2008, 04:09 PM
Hello Vinay,

Most probably the GoogleMap scripts are not reinitialized. You can handle OnResponseEnd client-side event or use ResponseScripts to reinitialized GoogleMap scripts.

Kind regards,
Vlad
the Telerik team

Check out Telerik Trainer, the state of the art learning tool for Telerik products.
Tags
Ajax
Asked by
Vinay
Top achievements
Rank 1
Answers by
Vlad
Telerik team
Share this question
or