Probably best way to get exactly what you need is to create a REST library (Blog4Umbraco does this to create comments using ajax) or a JSON-based web service and use jquery ajax to call that... If you want to create a JSON-based Web Service, take a look at the JayRock JSON library for dotNet... specifically the JSON-RPC library.
Is it possible to call pagemethods in umbraco from jquery?
I'm trying to get data out of umbraco with jquery. I wanted to use a pagemethod on a user control in a template.
Is this possible? If not, is there a better recommended way get data from umbraco to jquery ajax?
-Nate
Hi Nate,
Probably best way to get exactly what you need is to create a REST library (Blog4Umbraco does this to create comments using ajax) or a JSON-based web service and use jquery ajax to call that... If you want to create a JSON-based Web Service, take a look at the JayRock JSON library for dotNet... specifically the JSON-RPC library.
is working on a reply...