Home » FAQ » ASP.NET » Basic » How can I change the action of a form through code
You can’t change it. The action attribute is owned by ASP.NET. Handle Events and Transfer.
For work around refer to Paul Wilson’s Multiple Forms and Non-PostBack Forms – Solution
Platform BlazorASP.NETWinFormsWPF.NET MAUI
Question *
Answer (Optional)
Email (Optional)
Email address is only for further clarification on your FAQ request. It will not be used for any other purpose.
Please leave this field empty.
Share with