LA.NET [EN]

Jan 24

PageMethod in the final version

Posted in MS AJAX      Comments Off on PageMethod in the final version

Another change, when compared with the RC version, is related with page methods usage. In previous versions, they were always “on”, ie, adding a static method to the page and then annotating it with the WebMethod attribute is no longer enough for getting it to work.

Now you need to set the new EnablePageMethods property to true if you want to get the client  side proxy generated. In my opinion, this is a good change, though I”m still not sure on why it”s not documented on the migration doc (from RC to RTM)…