Hi,

what is if you are running Fiddler using Firefox, do you see if there
is any "correct" result?

Regards,
Michael



On 6/27/06, gavinsmithwa <[EMAIL PROTECTED]> wrote:
>
> Friends,
>
> I have a project that has been working for several months in ASP.Net
> 1.1 with Ajax.Net Pro 5.9. After upgrading the project to ASP.Net 2.0
> and Ajax.Net Pro 6.6.23.1 a function call no longer works in Firefox on
> my localhost, though it works in IE on my localhost and with either
> browser on the server. In Firefox on my localhost the callback executes
> immediately with a null value for the response. My desktop and the
> server are both running Windows 2000.
>
> Here's the front end code:
>
> function getObj(name)
> {
>        if (document.getElementById)
>        {
>                this.obj = document.getElementById(name);
>                this.style = document.getElementById(name).style;
>        }
>        else if (document.all)
>        {
>                this.obj = document.all[name];
>                this.style = document.all[name].style;
>        }
>        else if (document.layers)
>        {
>                this.obj = document.layers[name];
>                this.style = document.layers[name];
>        }
> }
>
> // Caller function
> function UpdateEntered( strAppointmentID, strCheckBoxID )
> {
>        var ApptCheckBox = new getObj( strCheckBoxID );
>        AdvisingAppt.admin.SlotAppointmentsReport.FlagEntered(
> strAppointmentID,
>                ApptCheckBox.obj.checked, UpdateEntered_CallBack );
> }
>
> // Callback function
> function UpdateEntered_CallBack(response)
> {
>        var strError = response.value;
>        if (strError != "")
>                alert("Couldn't flag appointment as entered: " + strError);
> }
>
>
> Here's the backend code:
>
> [AjaxPro.AjaxMethod]
> public string FlagEntered( string strApptID, bool bolEntered )
> {
>    int intAppointmentID = Convert.ToInt32(strApptID);
>    int intEntered = 0;
>    SqlConnection conAA = null;
>    SqlCommand cmdFlagEntered;
>    string strResult = "";
>
>    try
>    {
>        if (bolEntered)
>            intEntered = 1;
>        else
>            intEntered = 0;
>
>        AAFuncs.OpenConnection(out conAA);
>        cmdFlagEntered = new SqlCommand("sp_updateApptEntered", conAA);
>        cmdFlagEntered.CommandType = CommandType.StoredProcedure;
>        cmdFlagEntered.Parameters.Add("@intAppointmentID",
> intAppointmentID);
>        cmdFlagEntered.Parameters.Add("@bitEnteredInCISData",
> intEntered);
>        cmdFlagEntered.ExecuteNonQuery();
>
>        strResult = "";
>    }
>    catch (Exception ex)
>    {
>        strResult = ex.Message;
>    }
>    finally
>    {
>        if (conAA != null && conAA.State == ConnectionState.Open)
>            conAA.Close();
>    }
>
>    return strResult;
> }
>
> Any ideas?
>
> Thanks,
>
> Gavin
>
>
> >
>


-- 
Best regards | Schöne Grüße
Michael

Microsoft MVP - Most Valuable Professional
Microsoft MCAD - Certified Application Developer

http://weblogs.asp.net/mschwarz/
http://www.schwarz-interactive.de/
mailto:[EMAIL PROTECTED]

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Ajax.NET Professional" group.

To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]

For more options, visit this group at http://groups.google.com/group/ajaxpro

The latest downloads of Ajax.NET Professional can be found at 
http://www.ajaxpro.info
-~----------~----~----~----~------~----~------~--~---

Reply via email to