I have this link below:
<a asp-page="./CreateNew">CreateNewLink</a>
Why is CreateNewLink not clickable after running the code?
CodePudding user response:
H
Make Sure That you declare usage of taghelpers in _ViewImports.cshtml
@addTagHelper *, Microsoft.AspNetCore.Mvc.TagHelpers
And then make sure you have the address of page right because the asp-page
will not render a href
for a tag if the address is not valid