Dot Net Core 3.1 Link Tag Helpers not Clickable

Dot Net Core 3.1 Link Tag Helpers not Clickable

Click to Watch Video

Problem: When developing in Asp.Net Core 3.1 and the links (Asp.Net Core Tag Helpers not working) stop working for example:

 Link Anchor Tag declared with asp-controller="ControllerName" asp-action="ActionName" stops working see solution below:

Solution:

(Step 1) Open the Dev Tools, navigate to the "Elements" Tab and find a section where the unclickable link is located in the Dom.
(Step 2) When you find the link that can't be clicked, double click on it, while in the Dev Tools

[Note] Clicking on a link from the Dev Tools might not work using other Web Browser, this was tested using Chrome Web Browser Version 80.0.3987.132 (Official Build) (64-bit), make sure you are using Chrome the latest version.


(Step 3) The navigation happens and the error is thrown, for example, if there are any migrations pending to take place before the Action/Function is navigatable (if this is even a word).


Edit this Article
Was this page helpful?
Yes Yes! this solution to the problem was helpful. No No! this solution to the problem was not helpful.. Leave ErnesTech Feedback.Feedback
If you log in, you will be notified when someone leaves a comment.

Other users would like to know if this solution helped you.
Your Session is Ending
Login to Continue

702 said:

702


© 2021 - ErnesTech - Privacy