Asp.Net Core Tag HelpersClick to Watch Video

Dot Net Core 3.1 Link Tag Helpers not Clickable


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).


.Net 7
published
v.0.01



702 said:

702

Posted On: March 15, 2020 0:07:13 AM


For peering opportunity Autonomouse System Number: AS401345 Custom Software Development at ErnesTech Email Address[email protected]