H
Hollow Quincy
Hi, I have webmethod in code behind:
[System.Web.Services.WebMethod]
public static string f(string arg) { return "a"; }
In aspx I have:
<%@ Page Language="C#" AutoEventWireup="true"
CodeBehind="Default.aspx.cs" Inherits="Dad._Default" Async='true'%>
<asp:ScriptManager ID="ScriptManager1" runat="server"
EnablePageMethods="true" />
<script type="text/javascript">
PageMethods.f('arg',CallSuccess, CallFailed);
Is it asynchronous call of this webmethod or is it synchronous ?
I can't find the answer.. I suspect, that it is synchronous because
my firefox doesn't respond for a while..
Thank you for help
[System.Web.Services.WebMethod]
public static string f(string arg) { return "a"; }
In aspx I have:
<%@ Page Language="C#" AutoEventWireup="true"
CodeBehind="Default.aspx.cs" Inherits="Dad._Default" Async='true'%>
<asp:ScriptManager ID="ScriptManager1" runat="server"
EnablePageMethods="true" />
<script type="text/javascript">
PageMethods.f('arg',CallSuccess, CallFailed);
Is it asynchronous call of this webmethod or is it synchronous ?
I can't find the answer.. I suspect, that it is synchronous because
my firefox doesn't respond for a while..
Thank you for help