© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
C#C
C#•3y ago•
10 replies
XD

❔ Form with put or delete method

Since I can't add a method="put" or "delete" to my forms, how else can I add a put or delete method to my forms? I want to execute a function from the controller after submitting the form that will update/delete. I'm not using actions because this is an SPA, and I can't do something like, specifying a post method in the form and then, in the .cshtmlcs write code for a PUT inside an OnPost function because it's an MVC app
C# banner
C#Join
We are a programming server aimed at coders discussing everything related to C# (CSharp) and .NET.
61,871Members
Resources

Similar Threads

Was this page helpful?
Recent Announcements

Similar Threads

Put and Delete Methods not working.
C#CC# / help
2y ago
✅ delete method and cascade or ristrict?
C#CC# / help
4mo ago
Put a pdf in a form
C#CC# / help
2y ago
✅ Implementing delete repository method & controller | Web Api
C#CC# / help
13mo ago