In Portal Mode how can I cause a page to output just the data of its Repeater web part without the page wrapper asp.net form, etc?
I've set page Template inheritance to none, unchecked header inheritance, but to no avail, am still getting theme elements, asp.net form, html tag head, body and the norm. I'm looking to get rid of all those peripheral html elements and keep just the repeater output which is raw JSON.
What I'm trying to achieve is to output raw JSON to page using a Repeater Web Part while keeping the Repeater in the CMS Design UI where it's easy to manage by Admins. The RAW JSON will be picked up by a JQuery.get(..) or equivalent to read JSON and parse it, as per usual.
I've tried combining the Kentico Custom Response web part with a Repeater on the same page, but the Custom Response blows away any other page output of course.
I'm willing to dip into ASPX + Portal template combo mode if necessary, but want to keep using Kentico web parts in the Design interface to produce the data.
I found a Custom Response Repeater web part on DevNet however would rather manage the Design mode myself because I might want to throw some additional web parts in there.
Ultimately if it's not doable or involves too much complexity I'll use a good old ASP.NET ASHX Handler to produce what I need from the Kentico API and leave Kentico Design mode out of the equation altogether.
Thanks.
There is a custom web part on the Kentico Marketplace which will allow you to tell the page what type of output you want, it's called the Web part to API Converter. Download that web part, import it and add it to your page template. Be sure to change you page template so it DOES NOT inherit any other page or template.
Then you associate that Web part to API converter web part to your listing web part and it's like magic (or basic coding), it converts your aspx page to a "raw" format of whatever output you specify.