asp.net mvc - How to render a controller's action result to string? -


according asp.net mvc razor: how render razor partial view's html inside controller action i'm can render view string. but, possible invoke action inside controller , render result string ?

what tend things return partialview have of html need javascript use. keep in mind in http, text already, don't need special render result string return ajax call.

i'll have partialview has html need, pass ajax call using return partialview("viewname", model), whatever need on client side - such appending html node in dom.


Comments