Press Ctrl / CMD + C to copy this to your clipboard.
This post will be reported to the moderators as potential spam to be looked at
Does anyone have an alternative to string builder when creating the html mark-up in an UmbracoApiController to pass back to a view via an Ajax call?
At the moment I'm passing back blog post previews which is 7-10 lines of mark-up. It seems like a clunky way of doing it building it in string builder.
Thanks and kind regards,
You can use this approach for rendering view to string and then return it for ajax request.
And maybe it will be better to fill html markup on client side ? Get data from server in json and fill html template with this data.
is working on a reply...
Write your reply to:
Image will be uploaded when post is submitted