This project is read-only.

Loading Content with AJAX

Topics: Customizing Orchard, General
Feb 18, 2011 at 5:04 PM


I'm new to Orchard and basically I'd like to be able to have lots of pages loadable as json pages, i.e. - just the json, no other content. Is this an easy thing to be able to do in Orchard?


Feb 18, 2011 at 9:01 PM

Sure, just write a controller action that returns a JsonResult.

Feb 21, 2011 at 10:40 AM

Cool thanks - I will try that as soon as I've figured out the current error!

Feb 21, 2011 at 2:38 PM


I just wanted to make sure I've got the right idea... Are you suggesting I extend Orchard as if I were adding new features to the core, or should I be making a new Module for this? Otherwise, I'm not entirely sure where all the existing controllers are - am I missing something? Just need somebody to point me in the right direction if you don't mind :)


Feb 21, 2011 at 10:20 PM

In a module.

Aug 19, 2011 at 3:25 PM

Was this module ever developed? I too would like a way to get a JSON rendering of a page.