Copied to clipboard

Flag this post as spam?

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

  • Paul Sørensen 302 posts 648 karma points
    Jan 09, 2015 @ 23:09
    Paul Sørensen

    Loading partial view using ajax and RenderMvcController


    I would like to call a method on my CustomController using ajax to get a PartialView returned - version 7.2.1.

    public class ResultMatchController : BaseController
    public ActionResult Brutto(RenderModel model)
    var resModel = new ResultRankViewModel(model.Content, model.CurrentCulture);
    return PartialView("RankingBrutto", resModel);

    in my template

    @section script
    <script type="text/javascript"><!--mce:0--></script>


    This gives me when called

    http://mysite/ResultMatch/Brutto?_=1420840168857 404 (Not Found)

    What is the correct address to call the Brutto method on my CustomController ?

    I don't know where this comes from ?_=1420840168857 - I have tried to call http://mysite/ResultMatch/Brutto also without luck

    /Paul S

Please Sign in or register to post replies

Write your reply to: