Marathon Mary

Fusionmap Inside An Ajax Update Panel

Recommended Posts

I am using the demo version of Fusion Maps. I want to make sure it does every thing I need before I purchase it.

 

I have a Fusion Map inside an Ajax Update panel. I am using the ScriptManager to register the FusionMap javascript file. It works fine when the page first loads, but anything after that id doesn't. I am using this line of code:

 

 

ScriptManager.RegisterClientScriptInclude(Page, GetType(String), "FusionMap", "/JavaScript/FusionMaps.js")

 

I have tried putting this line of code in many different places. When I step thru the code, I find that this line IS being called for post back, but it only works when the page is first opened.

 

Since it works the first time, I am confident that the file is being referenced correctly.

 

How do I get FusionMap to work inside an Ajax UpdatePanel?

Share this post


Link to post
Share on other sites
Guest Angie

Hi,

 

Welcome to FusionCharts Forum!smile.gif

 

First of all, we would like to thank you for showing interest in FusionCharts.

 

Could you please confirm how are you rendering the map?

 

If you are using renderMap() function in postback, please try the same by using renderMapHTML() function.

 

Awaiting for your response.

Share this post


Link to post
Share on other sites
Guest Angie

Hi Mary,

 

Thank you very much for your appreciation.

 

We are glad to know that you have managed to solve your purpose.

 

Keep smiling and keep FusionCharting!biggrin.gif

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now