Quantcast
Channel: Active questions tagged html - Stack Overflow
Viewing all articles
Browse latest Browse all 74793

How do I navigate to a new page with a Button in ASP.net Core?

$
0
0

I've got a webpage that currently links to another page like this:

<a asp-action="Create">Create New</a>

I've tried this and it just sat on the page very happily, but didn't take me where I want to go:

<button asp-action="Create" class="btn btn-primary">Create</button>

How can I change this to use a button instead of a text link?


Viewing all articles
Browse latest Browse all 74793

Latest Images

Trending Articles



Latest Images

<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>