Author: johnaspnet | Posted on: 5/2/2008 1:30:31 AM | Views : 397

Hello experts,
  I have an Ajax page in which on a client side code, I call a PageMethods statement to get the result from a static server-side WebMethod (webservice function) function on the page itself on server side. I'd like in that static server-side WebMethod I am able to access a gridview control which already declare on the markup part of my Ajax page. Howevver,I always get the error like "a static function tried to access non-static object or variable ...."
  Please give me any idea to get through this problem since I's like to access or refer the gridview control on that server-side WebMethod?
Thank you in advance.
johnaspnet
...

Go to the complete details ...