I have my [WebMethod] in index.aspx.cs page which I am calling from javascript:
[WebMethod]
static public string GetRouteLocations(string UnitId)
{
DataSetTableAdapters.Queries Query = new DataSetTableAdapters.Queries();
XmlD ...
Go to the complete details ...