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

RadAjaxManager/Google Maps = No Ajax in FireFox

5 Answers 108 Views
Ajax
This is a migrated thread and some comments may be shown as answers.
Zoinky
Top achievements
Rank 1
Zoinky asked on 27 Jan 2010, 04:08 AM
I am putting together a prototype for a client and ran into the following issue.
Basically after lots of time hacking around the darn Subgurim google map control I manage to get the basics working.
However I just found out that under firefox, ajaxmanager (through proxy) is becoming null after the initial ajax postback
Attached is a zip of the prototype, and i tested this with your latest internal build (trail).
all you have to do is
1. download and http://depositfiles.com/files/4hncz4jn6 unzip, add the telerik ui.dll to bin
2. run the project (make sure make sure you actually have /default.aspx) in the url when running it in browser otherwise the stupid subgurim control doesn't even do a post back
3. once u have it running and /default.aspx is in the url, double click the map (to zoom), you will get 2 alert boxes (this is the initial ajax postback) which everything works fine because in the alert i am displaying the ajaxmanager object
4. after dismissing the 2 alerts fired from 3., double click the map again to zoom, this time you will get nulls and after that is all nulls

This is perfectly working under IE, however firefox just cant hack it.
I am running asp.net 3.5, and i also have tried 4
same results


On another note, how come i cannot attach small zip files to posts, if its under 2mb.
I tried renaming it to .gif but you guys still said its invalid (clever)


5 Answers, 1 is accepted

Sort by
0
Zoinky
Top achievements
Rank 1
answered on 28 Jan 2010, 05:43 PM
anyone?
0
Iana Tsolova
Telerik team
answered on 29 Jan 2010, 02:08 PM
Hello Zoinky,

I tested the project and was able to replicate the error. I assume that the cause of it is the OnZoomEnd event firing too early, before the client-side objects of the controls, i.e. the RadAjaxManager, are created. However I will need a bit more time to perform further investigation on it.
In the meanwhile could you please confirm that the map control supports ajax? You can also try ajaxifying it with ASP:UpdatePanel and see if it works thus.

All the best,
Iana
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
0
Zoinky
Top achievements
Rank 1
answered on 30 Jan 2010, 03:37 AM
According to the author, it does support ms ajax update panel.
but from what i see its a problem with radajaxmanager on firefox only because the server events fire properly for the control when zoomed or dragged, and the right client side methods are called, this is where i call the radajaxmanager to load the control but the radajaxmanager becomes null under firefox only
this works 100% in IE and no issues.

Thanks for looking into this, this is the only show stopper for me to convince them telerik controls are the right package for their project

0
Iana Tsolova
Telerik team
answered on 04 Feb 2010, 12:44 PM
Hi Zoinky,

After further debugging it appeared that the reason for the issue is the below css rule which is corrupting the page response:

<style type="text/css">
    v\:*
    {
        behavior: url(#default#VML);
    }
</style>

Therefore I suggest that you either remove this style or set the EnablePageHeadUpdate property of the RadAjaxManager to false.

Sincerely yours,
Iana
the Telerik team

Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
Follow the status of features or bugs in PITS and vote for them to affect their priority.
0
Zoinky
Top achievements
Rank 1
answered on 05 Feb 2010, 06:31 AM
Thank you, removing this seem to fix my problem and didnt have any effect on the function of the map by removing it so thats a good thing, but i am curious as to why that style would corrupt the page. If you share your finding maybe someone else might find it useful
thank you
Tags
Ajax
Asked by
Zoinky
Top achievements
Rank 1
Answers by
Zoinky
Top achievements
Rank 1
Iana Tsolova
Telerik team
Share this question
or