Ajax.ActionLink alternative with mvc core

前端 未结 4 1907
时光取名叫无心
时光取名叫无心 2021-01-13 06:03

In MVC5 there is @Ajax.ActionLink that is useful to update just a partial view instead of reloading the whole View. Apparently in MVC6 is not supported anymore.

4条回答
  •  傲寒
    傲寒 (楼主)
    2021-01-13 06:18

    I add ajax options for Anchor TagHelper in ASP.NET MVC Core

    you can see complete sample in github link : https://github.com/NevitFeridi/AJAX-TagHelper-For-ASP.NET-Core-MVC

    after using this new tagHelper you can use ajax option in anchor very easy as shown below:

         
                            
                             Add Menu 
      
    

提交回复
热议问题