Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

334
Views
How to call controller's IActionResult methods without refreshing the web page?

To change the view, I'm calling the action which is present in my controller by using property : asp-action="" and asp-controller=""

<ul class="nav nav-pills flex-column mb-auto">
                    <li class="nav-item">
                        <a asp-area="" asp-controller="Home" asp-action="Index" class="nav-link text-white" aria-current="page">
                            <i class="fi fi-br-home"></i> Accueil
                        </a>
                    </li>
                    <li class="nav-item">
                        <a asp-area="" asp-controller="Home" asp-action="AboutMe" class="nav-link text-white" aria-current="page">
                            <i class="fi fi-br-user"></i> Moi
                        </a>
                    </li>
                    <li class="nav-item">
                        <a asp-area="" asp-controller="Home" asp-action="Resume" class="nav-link text-white" aria-current="page">
                            <i class="fi fi-br-physics"></i> CV
                        </a>
                    </li>
                    <li class="nav-item">
                        <a asp-area="" asp-controller="Home" asp-action="Portfolio" class="nav-link text-white" aria-current="page">
                            <i class="fi fi-br-backpack"></i> Portfolio
                        </a>
                    </li>
                    <li class="nav-item">
                        <a asp-area="" asp-controller="Home" asp-action="Contact" class="nav-link text-white" aria-current="page">
                            <i class="fi fi-br-address-book"></i> Contact
                        </a>
                    </li>
                </ul> 

This disturb be because it keeps refresh and reset my javascript code.

about 4 years ago · Juan Pablo Isaza
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!