how to retrieve the class from pagemethod in javascript

I would like to use Pagemethod to return the class to javascript. Does it need to create the same construction of the class on the both sides, client and server sides?
 
Back
Top