Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Nate 143 posts 184 karma points
    May 17, 2011 @ 18:03
    Nate
    0

    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

  • Robert Foster 459 posts 1820 karma points MVP 4x admin c-trib
    May 17, 2011 @ 18:35
    Robert Foster
    0

    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.

  • This forum is in read-only mode while we transition to the new forum.

    You can continue this topic on the new forum by tapping the "Continue discussion" link below.

Please Sign in or register to post replies