RadAjaxManager/Google Maps = No Ajax in FireFox

6 posts, 0 answers
  1. Zoinky
    Zoinky avatar
    45 posts
    Member since:
    Sep 2007

    Posted 26 Jan 2010 Link to this post

    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)


  2. Zoinky
    Zoinky avatar
    45 posts
    Member since:
    Sep 2007

    Posted 28 Jan 2010 Link to this post

    anyone?
  3. UI for ASP.NET Ajax is Ready for VS 2017
  4. Iana Tsolova
    Admin
    Iana Tsolova avatar
    3388 posts

    Posted 29 Jan 2010 Link to this post

    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.
  5. Zoinky
    Zoinky avatar
    45 posts
    Member since:
    Sep 2007

    Posted 29 Jan 2010 Link to this post

    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

  6. Iana Tsolova
    Admin
    Iana Tsolova avatar
    3388 posts

    Posted 04 Feb 2010 Link to this post

    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.
  7. Zoinky
    Zoinky avatar
    45 posts
    Member since:
    Sep 2007

    Posted 05 Feb 2010 Link to this post

    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
Back to Top
UI for ASP.NET Ajax is Ready for VS 2017