Telerik
Home / Community / Forums / RadControls for ASP.NET: Ajax / AJAX ResponseScripts not working in FireFox 2.0.0.2

AJAX ResponseScripts not working in FireFox 2.0.0.2

Feed from this thread
  • Eric Gravitt avatar

    Posted on Feb 23, 2007 (permalink)

    I just did an auto update for Firefox to version 2.0.0.2. I have a RADWindow with an AJAXManager on the page in the window. The page does a postback, executes some code, adds some script via AJAXManager.ResponseScripts.Add() and returns. It works fine in IE 6 and did work fine in FF before the auto update, I think,  but now the ResponseScripts have stopped working. Also, on the page is a RAD DatePicker and it is disabled after the postback and the DataInput field can be wriiten in even though it is disabled and read-only.

    Like I said, this worked before the auto update, I think. Can you help?

    Thanks,

    Eric

    Reply

  • mzn developer avatar

    Posted on Feb 24, 2007 (permalink)

    I'm running into the same issue.  I had it working in Firefox 2.0.0.1 (Window and Mac OS X).  After the PC updated to 2.0.0.2 it stopped working.  The Mac has not updated yet and it still works as intended.  I even tried to simply display an alert using the ResponseScripts and it doesn't work in 2.0.0.2.

    Reply

  • Posted on Feb 25, 2007 (permalink)

    Me too... when I click/expand a node in my RadTree the strucure of the tree disappears leaving just the text and the tree becomes unresponsive. Also, the RadToolbar stop functioning.

    Everything worked fine before the 2.0.0.2 update.

    Anybody got any ideas?

    Reply

  • Telerik Admin admin's avatar

    Posted on Feb 26, 2007 (permalink)

    Hello Guys,

    You are absolutely right - the latest Firefox update broke this r.a.d.ajax functionality. Our developers worked on the issue today and we believe it is already addressed. Our first tests pass, so I'm attaching a trial version of the hotfix to this forum post.

    Note that the next official release of RadAjax along with the Service Pack 2 of r.a.d.controls for ASP.NET Q4 2006 will be ready later this week. If you need dev version of the hotfix earlier, please contact our support officers via a formal support ticket and request the hotfix there.

    We are sorry for the temporary inconvenience.

    Best wishes,
    Konstantin Petkov
    the telerik team

    Reply

  • mzn developer avatar

    Posted on Feb 26, 2007 (permalink)

    I tried this update and it works as intended for the Ajax ResponseScripts.  Verified on the following browser versions:

    PC
    IE 6, IE 7, Firefox 2.0.0.1, Firefox 2.0.0.2

    MAC
    Firefox 2.0.0.1, Firefox 2.0.0.2

    As always, thanks for the quick turnaround on this issue!

    Reply

  • Posted on Feb 26, 2007 (permalink)

    Hi,

    Thanks for the quick response.

    I think there are a couple of bugs left:

    1) When my RadTree is drawn the text is displayed for a moment with no CSS applied. The CSS is then applied and everything looks fine again. It's a annoying to have the 'flicker' though. I've noticed that this problem also occurs when using the latest version of Opera.

    2) Sometimes, my AjaxLoadingPanel image is sometimes displayed twice (can't nail down when though). This may be something to do with the redrawing of the control. I'm pretty sure it didn't happen before the update of Firefox and it doesn't happen in any other browser.

    Let me know if you need any more info.

    Cheers,
    Paul

    Reply

  • Alex Simmons avatar

    Posted on Feb 26, 2007 (permalink)

    Is this hotfix compatible with the Q2 2006 release?

    Thanks!

    Reply

  • Telerik Admin admin's avatar

    Posted on Feb 26, 2007 (permalink)

    Hello Paul,

    We will really appreciate if you could isolate these issues in a sample and send it through a formal support ticket. We will gladly review it and do our best to provide a solution quickly.

    Thanks a lot in advance and looking forward to hearing from you.

    Greetings,
    Konstantin Petkov
    the telerik team

    Reply

  • Eric Kemp Intermediate avatar

    Posted on Feb 26, 2007 (permalink)

    I can confirm significant flicker to the point of being disconcerting.

    Also, per a support ticket I currently have open, it appears that javascript executed via OnResponseEnd must now be done as follows:

    setTimeout(function(){doStuff;});

    Reply

  • Telerik Admin admin's avatar

    Posted on Feb 27, 2007 (permalink)

    Hi guys,

    Find attached the latest unofficial ajax build that should address the problems reported. Thank you all for the cooperation in resolving the breaking changes introduced by Mozilla. If you are having problems with the build - please do let us know and it would be best if you provide us with a sample project where we can replicate it.

    All the best,
    Steve
    the telerik team

    Reply

  • Chris Walker avatar

    Posted on Mar 1, 2007 (permalink)

    I have discovered the same problem but it doesn't appear to be resolved by appying the AJAX hot fix supplied.
    Here is my markup:
       <rada:RadAjaxPanel ID="RadAjaxPanel1" runat="server"
            RadControlsDir="~/RadControls/" EnableAJAX="true">
            <div class="spacer10">  
            cash/fire:
                <radc:RadComboBox ID="navSearchSafesCategory" runat="server" Width="103px"
                    Skin="Default" AutoPostBack="True" EnableViewState="True" RadControlsDir="~/RadControls/" >
                    <ItemTemplate>
                        <img src='/Common/Img/Nav/<%# DataBinder.Eval(Container, "Attributes['ImagePath']") %>'
                            alt="" />&nbsp;&nbsp;<%# DataBinder.Eval(Container, "Attributes['Ctext']") %>
                    </ItemTemplate>
                    <Items>
                        <radc:RadComboBoxItem ID="RadComboBoxItem3" Text="--please select--" Value="0" CText="--please select--"
                            ImagePath="blank.gif" runat="server" Selected="true"></radc:RadComboBoxItem>
                        <radc:RadComboBoxItem ID="RadComboBoxItem4" Text="theft prevention" Value="1" CText="theft prevention"
                            ImagePath="theft.gif" runat="server"></radc:RadComboBoxItem>
                        <radc:RadComboBoxItem ID="RadComboBoxItem6" Text="fire protection" Value="2" CText="fire protection" ImagePath="fire.gif"
                            runat="server"></radc:RadComboBoxItem>
                    </Items>
                </radc:RadComboBox>
            </div>
           
            <div class="spacer10">
            <asp:Label runat="server" ID="ajaxselect" Text="rating/fire test" />:
            <asp:Panel ID="PanelRating" Visible="true" runat="server">
                <radc:RadComboBox ID="navSearchSafesRating" runat="server" Width="103px" ToolTip="Use this drop down to select to search for a particular rating of safe"
                    Skin="Default" AutoPostBack="False" Enabled="False" RadControlsDir="~/RadControls/" EnableViewState="True" OnSelectedIndexChanged="navSearchSafesRating_SelectedIndexChanged">
                       <ItemTemplate>
                        <img src='/Common/Img/Nav/<%# DataBinder.Eval(Container, "Attributes['ImagePath']") %>'
                            alt="" />&nbsp;&nbsp;<%# DataBinder.Eval(Container, "Attributes['Ctext']") %>
                    </ItemTemplate>
                     <Items>
                                       <radc:RadComboBoxItem ID="RadComboBoxItem13" Text="--please select--" Value="0" CText="--please select--"
                            ImagePath="blank.gif" runat="server" Selected="true"></radc:RadComboBoxItem>
                        <radc:RadComboBoxItem ID="RadComboBoxItem7" Text="£0-10K" Value="1" CText="£0-10K" ImagePath="cash.gif" runat="server" Selected="true"></radc:RadComboBoxItem>
                        <radc:RadComboBoxItem ID="RadComboBoxItem8" Text="£10-50K" Value="2" CText="£10-50K" ImagePath="cash2.gif" runat="server"></radc:RadComboBoxItem>
                        <radc:RadComboBoxItem ID="RadComboBoxItem9" Text="£50-100K" Value="3" CText="£50-100K" ImagePath="cash3.gif" runat="server"></radc:RadComboBoxItem>
                    </Items>
                </radc:RadComboBox>
                </asp:Panel>       
                  <asp:Panel ID="PanelMedia" Visible="false" runat="server">
                <radc:RadComboBox ID="navSearchSafesMedia" runat="server" Width="103px"
                    Skin="Default" AutoPostBack="False" Enabled="False" RadControlsDir="~/RadControls/" EnableViewState="True">
                        <ItemTemplate>
                        <img src='/Common/Img/Nav/<%# DataBinder.Eval(Container, "Attributes['ImagePath']") %>'
                            alt="" />&nbsp;&nbsp;<%# DataBinder.Eval(Container, "Attributes['Ctext']") %>
                    </ItemTemplate>
                     <Items>
                                       <radc:RadComboBoxItem ID="RadComboBoxItem12" Text="--please select--" Value="0" CText="--please select--"
                            ImagePath="blank.gif" runat="server" Selected="true"></radc:RadComboBoxItem>
                        <radc:RadComboBoxItem ID="RadComboBoxItem10" Text="for storing paper " CText="for storing paper " Value="1" ImagePath="paper.gif" runat="server" ></radc:RadComboBoxItem>
                        <radc:RadComboBoxItem ID="RadComboBoxItem11" Text="for storing PC media" CText="for storing PC media" Value="2" ImagePath="data.gif" runat="server"></radc:RadComboBoxItem>
                    </Items>
                </radc:RadComboBox>
                </asp:Panel> 
            </div></rada:RadAjaxPanel>

    And I have one simple function in code behind to enable the 3rd ComboBox on Callback:
    private void navSearchSafesCategory_SelectedIndexChanged(object o, Telerik.WebControls.RadComboBoxSelectedIndexChangedEventArgs e)
            {
                index = navSearchSafesCategory.SelectedIndex;
                switch (index)
                {
                    case 0:
                        break;
                    case 1:
                        PanelRating.Visible = true;
                        PanelMedia.Visible = false;
                        ajaxselect.Text = "insurance rating";
                        navSearchSafesRating.Enabled = true;

                        break;
                    case 2:
                        PanelMedia.Visible = true;
                        PanelRating.Visible = false;
                        ajaxselect.Text = "media type";
                        navSearchSafesMedia.Enabled = true;
                        break;
                    default:
                       
                        break;
                }
            }

    I have deployed hte latest RadAjax (1.6.2) and ComboBox but it still won't work for me in Firefox 2+

    Any ideas would be greatly appreciated.


    Reply

  • Posted on Mar 1, 2007 (permalink)

    I have entered a ticket with my code ... but the 1.6.2 hot fix corrected somethings and tweaked others...

    I have a tabstrip inside the Ajax panel and now with the fix in place the entire tabstirp reloads when an option is clicked... This did not happen prior to the Hot fix.

    Reply

  • Sarfaraz Merchant avatar

    Posted on Mar 2, 2007 (permalink)

    Hi,

    Currently I am using RadCallback 2.1.0.0 for developing applications. I  haven't upgraded yet to newer version to use RadAjax.dll . After autoupdating to Firefox 1.5.0.10 and 2.0.0.2 version, I am also facing same problem with Callback controls. None of the ClientEvents for callback controls are firing properly. But everything runs properly in IE6 and IE7.

    Is there any hotfix for RadCallback controls? Telerik team, can you help me to solve this issue?

    Thanks,


    Reply

  • Telerik Admin admin's avatar

    Posted on Mar 2, 2007 (permalink)

    Hi Sarfaraz,

    Latest Firefox will not be supported by r.a.d.callback. We suggest that you migrate to r.a.d.ajax.

    All the best,
    Vlad
    the telerik team

    Reply

  • Sarfaraz Merchant avatar

    Posted on Mar 2, 2007 (permalink)

    Thanks Vlad for your quick reply. We are planning to migrate to the newer version as early as possible. But is there any alternate solution or quick fix for this issue from telerik team?

    Looking forward for reply.

    Thanking in advance...

    Reply

  • Telerik Admin admin's avatar

    Posted on Mar 5, 2007 (permalink)

    Hello Sarfaraz,

    Unfortunately there is no solution with the callback controls.

    However, we will help you as much as possible in the migration process. You can start from reading this article.

    If you face any specific difficulties, please submit a support ticket to help you accordingly.

    Sincerely yours,
    Konstantin Petkov
    the telerik team

    Reply

  • andrei avatar

    Posted on Mar 13, 2007 (permalink)

    I have tested my application in safary and found out that it doesn't work. I use RAD.Ajax and all scripts that I return from the server through AJAXPanel.ResponseScripts.Add() are not executed on the client. Does it work in safary?

    Reply

  • Telerik Admin admin's avatar

    Posted on Mar 13, 2007 (permalink)

    Hi Andrei,

    ResponseScripts of RadAjax controls work as expected on our side with the latest r.a.d.ajax v1.6.2 on Safari 2.0.4. Please, make sure you use the latest versions and if the problem still persists, we will appreciate if you open a support ticket and send a sample reproducing the problem, which we can test locally.

    All the best,
    Konstantin Petkov
    the telerik team

    Reply

Powered by Sitefinity ASP.NET CMS

Contact Us | Site Feedback | Terms of Use | Privacy Policy
Copyright © 2002-2009 Telerik. All rights reserved.