Let's rephrase a bit:

Server:

[AjaxPro.AjaxMethod(AjaxPro.HttpSessionStateRequirement.ReadWrite)]
    public string Test()
    {
        System.Web.HttpContext.Current.Session["Test"] = "aa";
         return "0";
    }


Client:
function btnTest_onclick()
{
    var result = TestPage.Test();
    if (result.error != null)
        alert(result.error.Message);
    else
        alert(result.value);
}

in IE:
Line: 304
Char: 6
Error: Syntax error

in Firefox:
missing } in XML expression
ajaxpro/core.ashx
line 307

I hope it's more clear now.

Thanks,
Allex


--~--~---------~--~----~------------~-------~--~----~
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