Is there a way I can pass querystring param to PageMethods? I have this requirement because inside the AjaxMethod I am using some classes which rely on a particular querystring being present.
If I am using Asp.Net ScriptManager, PageMethods is there a way to pass the querystring param from the javascript to the Ajax Web Method?
Example : I have to access the Query Param as shown below.
[WebMethod(true)]
public static string AjaxMethod(string name)
{
string Id = HttpContext.Current.Request.QueryString["SomeID"];
return message + " " + name;
}