Explain how to use multiple submit buttons in ASP.Net MVC?
Answer / Shailesh Narayan Gautam
To use multiple submit buttons in ASP.NET MVC, you can assign unique names to each button and then create separate methods for handling the form's submission in the controller for each button. In the view file, ensure that the form elements have the same name attribute, and each submit button has a unique value attribute.
| Is This Answer Correct ? | 0 Yes | 0 No |
What is a model in android?
I have 2+ years of fake experience,actually i could not answer for project questions..?how can i answer please suggest me..?
Is there built-in support for tracing/logging
Can we add constraints to the route? If yes, explain how we can do it?
Is it possible to unit test an mvc application without running the controllers in an asp.net process?
what is entity framework?
Describe the advantages of writing a managed code application instead of unmanaged one. What's involved in certain piece of code being managed ?
What filters are executed in the end?
What does assemblyinfo.cs file consists of ?
1 Answers Accenture, BirlaSoft,
What is Globalizationa and Localization
If we write return statement in finally block will it works fine or throws any error?
How we can handle the exception at controller level in ASP.Net MVC?