D
D
Denis Bredun2020-08-12 12:29:44
HTML
Denis Bredun, 2020-08-12 12:29:44

How to navigate from one Razor page to another using a button that is on the first page?

How to navigate from one Razor page to another using a button that is on the first page? Can you please provide code examples?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
V
Vladimir Korotenko, 2020-08-12
@Luffy1

Select

<form class="is-small select" id="FilterForm" method="post" asp-page-handler="FilterGenerated">
                <select asp-for="SelectedOptions" asp-items="@Model.Options" onchange="this.form.submit()"></select>
            </form>

link
<a asp-page="Edit" asp-route-id="@item.Id">Изменить</a>

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question