i call my server side method by jquery and from that method i am trying to access page control but gives error. here is my sample code
[WebMethod]
public static findEvents(string PID)
{
Page page = HttpContext.Current.Handler as Page;
Panel pn=(Panel)page.FindControl("hdContainer");
}
but find control gives null error. please give any solution to find control in static method.