Copied to clipboard

Flag this post as spam?

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


  • Magnus 2 posts 72 karma points
    Sep 18, 2023 @ 12:18
    Magnus
    0

    call endpoint and return partial view

    Hi, I want to return a partialview with a model, this action should be called from a ajax call, but it seem like I'm caught in limbo since I think I need to inherit from the UmbracoApiController, but when I do that I cannot return a PartialView, and if I use a controller that inherits from RenderController I can return a partialview but I cannot access the endpoint, I tried to decorate the action with a route path but it never hit the action. Any advice is appreciated.

Please Sign in or register to post replies

Write your reply to:

Draft