Solved

Ajax not working in Firefox 2..0.0.20

Posted on 2009-04-08
5
229 Views
Last Modified: 2012-06-21
For some reason i cant see to get even the most basic ajax via vs 2008, to work in FF. It works fine in ie but not here.

The code seems to run - but it doesnt get shown in the UI - and i just end up getting a timeout error?

I'm i missing anything obivous here? and is there an easy way to get this working?

Thanks
Paul
<%@ Page Language="VB" 

    AutoEventWireup="false" 

    CodeFile="testAbout.aspx.vb" 

    EnableEventValidation ="false"

    Inherits="modules_UserManagment_test"

  %>

 

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">

<head runat="server">

    <title>Untitled Page</title>

</head>

<body>

    <form id="form1" runat="server">

    <asp:ScriptManager ID="ScriptManager1" runat="server">

    </asp:ScriptManager>

    <asp:UpdatePanel ID="UpdatePanel1" runat="server" >

        <ContentTemplate>

            <asp:Button  runat="server" ID="uxGetTime" Text="GET TIME" />

            <asp:TextBox runat="server" ID="uxResult" ></asp:TextBox>

        </ContentTemplate>

    </asp:UpdatePanel>

    </form>

</body>

</html>

 

 

-----------------------------------------------------------------------------

 

Partial Class modules_UserManagment_test

    Inherits System.Web.UI.Page

 

    Protected Sub uxGetTime_Click(ByVal sender As Object, ByVal e As System.EventArgs) Handles uxGetTime.Click

        uxResult.text = Now.tostring

    End Sub

 

End Class

Open in new window

0
Comment
Question by:paulCardiff
  • 3
  • 2
5 Comments
 
LVL 37

Expert Comment

by:samtran0331
ID: 24099450
Did you post the correct FireFox version?
If yes, that version has to be at least a couple years old....
I don't have any problems (directly relating to Ajax anyway) using Firefox 3.0.7
0
 

Author Comment

by:paulCardiff
ID: 24099487
Yes that the right version - i.e. 2.0.0.20 however my laptops only a year old and ajax been around much longer i guess?

But either way - are you suggesting that this version of FF doesnt support Ajax?
0
 
LVL 37

Expert Comment

by:samtran0331
ID: 24099647
The code you posted is simple enough...and I don't see anything wrong with it.
And as you say it works in IE....I would at least try making sure FireFox is up to date.

Ajax has been around longer than a year...but keep in mind that when you're using ASP.Net and Visual Studio...you are using Microsoft's implementation of AJAX, not truly "pure" Ajax.
And you're using the latest version of Microsoft ajax (3.5) when using VS2008....so I wouldn't be that surprised if the "newest Microsoft technology" is somewhat incompatible with older browsers...
0
 

Author Comment

by:paulCardiff
ID: 24101235
Thanks but the problem i have is - upgrading to the latest version of FF isnt the anwser - as i need to simulate - end users, and as such account for users using this version FF.

So with that in mind i'm looking for a workaround - as i've yet to confirm if this is the case and/or if i can find a solution to this problem.
0
 
LVL 37

Accepted Solution

by:
samtran0331 earned 500 total points
ID: 24101608
I understand...we have a very rigorous compatibility requirement also...our app has to support IE (version 7 and now 8), FireFox (Win/Mac), Safari (Win/Mac), Opera, and now Chrome...but we don't support any browser that's a whole major version behind the current version...you have to draw the line somewhere...

I created a test page with your exact code and it works fine in:
FireFox 3.07
Chrome 1.0x
IE 8
Opera 9.64
and Safari 4(beta) and 3..Win and Mac
0

Featured Post

How to improve team productivity

Quip adds documents, spreadsheets, and tasklists to your Slack experience
- Elevate ideas to Quip docs
- Share Quip docs in Slack
- Get notified of changes to your docs
- Available on iOS/Android/Desktop/Web
- Online/Offline

Join & Write a Comment

Suggested Solutions

AJAX ModalPopupExtender has a required property "TargetControlID" which may seem to be very confusing to new users. It means the server control that will be extended by the ModalPopup, for instance, if when you click a button, a ModalPopup displays,…
International Data Corporation (IDC) prognosticates that before the current the year gets over disbursing on IT framework products to be sent in cloud environs will be $37.1B.
Internet Business Fax to Email Made Easy - With eFax Corporate (http://www.enterprise.efax.com), you'll receive a dedicated online fax number, which is used the same way as a typical analog fax number. You'll receive secure faxes in your email, fr…
Excel styles will make formatting consistent and let you apply and change formatting faster. In this tutorial, you'll learn how to use Excel's built-in styles, how to modify styles, and how to create your own. You'll also learn how to use your custo…

760 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

23 Experts available now in Live!

Get 1:1 Help Now