Hi there!,
I am currently working on a Asp.net web form. in that i have used ajax to perform some operation. the main thing is, i am not able to call the webervice method from a remote machine. that is the Webservice method is not getting called when i access the server(in which the web service method is written) from a remote machine and tried to call the webservice .
Clearly.
this is the main code to cal the webservice
var url = "../Webservices/GridTasks.asmx/FillTable"; //35
xmlHttp1.open("POST", url, true );
xmlHttp1.setRequestHeader("Content-Type","application/x-www-form-urlencoded");
// xmlHttp1.setRequestHeader("Content-Length","params.length");
xmlHttp1.setRequestHeader("Connection", "close");
xmlHttp1.send(parameter));
return false;
This is the Web service method:
<WebMethod(True)> _
Public Sub Deleterow(ByVal param As String)
Dim Table7 As New DataTable
Dim index As Integer
index = Convert.ToInt32(param) - 1
Table7 = Session("AL_FF_INFO")
Table7.Rows(index).Delete()
Session("AL_FF_INFO") = Table7
End Sub
Any help regarding this would be very helpful for me!.