Category - Button
Results 16 - 20 of 63
16 Dec 2019 16 Dec 2019 0 Comments  1288 Views
ASP.Net  MVC  Button  Form
Here Mudassar Ahmed Khan has explained with an example, how to call HTTP POST Action method on Button Click in ASP.Net MVC Razor.

When the Submit Button is clicked, the Form will be submitted and the HTTP POST Action method of Controller will be called in ASP.Net MVC Razor.
16 Dec 2019 16 Dec 2019 0 Comments  1153 Views
ASP.Net  MVC  Button  Form
Here Mudassar Ahmed Khan has explained with an example, how to call multiple Action methods using one Single Form in ASP.Net MVC Razor.

One Form in a View can do a POST submission to one Action method in Controller and hence in order to call multiple Action methods using one single Form in a View, a Switch case has to be implemented inside the Action method.

The Switch case detects the clicked Submit button by fetching its Value from the Request.Form collection and the appropriate Action method will be called in ASP.Net MVC Razor.
16 Dec 2019 16 Dec 2019 0 Comments  814 Views
ASP.Net  MVC  Button  Form
Here Mudassar Ahmed Khan has explained with an example, how to use multiple Submit buttons in one Single View in ASP.Net MVC Razor.

One Form in a View can do a POST submission to one Action method in Controller and hence in order to use multiple Submit buttons inside one single Form in a View, a Switch case has to be implemented inside the Action method.

The Switch case detects the clicked Submit button by fetching its Value from the Request.Form collection and the appropriate action is performed in ASP.Net MVC Razor.
14 Dec 2019 14 Dec 2019 0 Comments  1482 Views
Here Mudassar Ahmed Khan has explained with an example, how to implement dynamic Table with DropDownList in HTML using jQuery.

When the Add Button is clicked, a new Table Row with a DropDownList will be dynamically created and added to the HTML Table and when the Remove Button is clicked, the Table Row with DropDownList will be removed from the HTML Table using jQuery.
12 Dec 2019 12 Dec 2019 0 Comments  1448 Views
Here Mudassar Ahmed Khan has explained with an example, how to implement dynamic Table with DropDownList in HTML using JavaScript.

When the Add Button is clicked, a new Table Row with a DropDownList will be dynamically created and added to the HTML Table and when the Remove Button is clicked, the Table Row with DropDownList will be removed from the HTML Table using JavaScript.
Results 16 - 20 of 63