L
L
lena_shevtsova2021-11-24 10:35:39
ASP.NET
lena_shevtsova, 2021-11-24 10:35:39

how to use asp elements?

<asp:Button ID="button1" runat="server" onclick="button_cklick">

in form tag with runat="server" doesn't work. You can't even click.
How to use such elements correctly?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
V
Vasily Bannikov, 2021-11-24
@lena_shevtsova

You cannot use elements from WebForms in MVC.
Here's what to use instead:
https://qna.habr.com/q/1079220
Well, or if you have the opportunity to use .net6 - look at Blazor.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question