Copied to clipboard

Flag this post as spam?

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


  • Gokul Sridhar 4 posts 74 karma points
    Jun 01, 2018 @ 06:48
    Gokul Sridhar
    0

    Search Functionality without page reloading

    I am using the Umbraco Search Functionality but it requires reload to display the results. Is there any way to get results without reloading? And I need autocomplete also!

  • Frans de Jong 550 posts 1862 karma points MVP 4x c-trib
    Jun 01, 2018 @ 07:20
    Frans de Jong
    0

    You can use examine however you like. I'm curious what you mean with Umbraco Search Functionality. Are you using a package? Or did you build it yourself?

    If you've build it yourself you could move your code to a UmbracoApiController and use javascript to get the results.

    So to realy answer the question we need a idea what you have now.

  • Gokul Sridhar 4 posts 74 karma points
    Jun 01, 2018 @ 08:14
    Gokul Sridhar
    0

    I Am using Examine for searching

  • Frans de Jong 550 posts 1862 karma points MVP 4x c-trib
    Jun 01, 2018 @ 08:21
    Frans de Jong
    0

    if you place your code in a api controller (https://our.umbraco.org/documentation/reference/routing/webapi/) and call it with javascript you dont need a page reload.

  • This forum is in read-only mode while we transition to the new forum.

    You can continue this topic on the new forum by tapping the "Continue discussion" link below.

Please Sign in or register to post replies