Category - ASP.Net
Results 11 - 15 of 2117
16 Dec 2019 16 Dec 2019 0 Comments  589 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  487 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.
11 Dec 2019 11 Dec 2019 0 Comments  1138 Views
Here Mudassar Ahmed Khan has explained with an example, how to add (insert) new row to GridView programmatically in ASP.Net using C# and VB.Net.

When the Add Button is clicked, the values from the TextBoxes will be added to the DataTable in ViewState, which will be later used to populate the GridView in ASP.Net using C# and VB.Net.
10 Dec 2019 10 Dec 2019 0 Comments  1248 Views
Here Mudassar Ahmed Khan has explained with an example, how to implement Bootstrap Navbar Toggle (Collapsible) Menu in ASP.Net using C# and VB.Net.

The Bootstrap Navbar Toggle (Collapsible) Menu will be populated from Database with the help of ASP.Net Menu control using C# and VB.Net.
02 Dec 2019 02 Dec 2019 0 Comments  791 Views
Here Mudassar Ahmed Khan has explained with an example, how to use Group By Clause in LINQ with Entity Framework using C# and VB.Net.

This article will illustrate how to use Group By Clause in LINQ with Entity Framework and then later use it to populate GridView control in ASP.Net with C# and VB.Net.
Results 11 - 15 of 2117