Copied to clipboard

Flag this post as spam?

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

  • Saied 349 posts 674 karma points
    Jan 22, 2016 @ 04:43

    How can I call an Umbraco Surface controller action method from an jQuery ajax call?


    In my razor templates, if I have an jQuery ajax call, I am calling passing the following to my url parameter:


    How can I call this from the ajax method without having to specify:

  • Matthieu Nelmes 102 posts 385 karma points
    Jan 23, 2016 @ 18:44
    Matthieu Nelmes

    This is the default routing within Umbraco.

    If you want to override this, I guess you could try with a custom RouteConfig.

    But first and foremost, why?

Please Sign in or register to post replies

Write your reply to: