Category - Form
Results 1 - 5 of 36
19 Feb 2021 19 Feb 2021 0 Comments  481 Views
ASP.Net  jQuery  MVC  Form  FormData  Core
Here Mudassar Ahmed Khan has explained with an example, how to submit Form using jQuery in ASP.Net Core MVC.

This article will explain how to create Form Fields and then submit data from View to Controller using Form Collection and jQuery AJAX in ASP.Net Core MVC
19 Dec 2020 19 Dec 2020 0 Comments  2226 Views
Here Mudassar Ahmed Khan has explained with an example, how to refresh a page after submit (post) in ASP.Net Core Razor Pages.

If the Browser is refreshed using F5 button after the Form is submitted (in other words after PostBack operation), the submitted data is resubmitted to Server.

Thus to prevent such behavior, the Page is redirect to same page after Form submit (post).
18 Nov 2020 18 Nov 2020 0 Comments  993 Views
Here Mudassar Ahmed Khan has explained with an example, how to use the OnPost handler method in ASP.Net Core Razor Pages.

The OnPost handler method is used for handling Form Submissions and the name of the OnPost handler method is specified on the Submit Button used to submit the Form using the asp-page-handler attribute in ASP.Net Core Razor Pages.
17 Aug 2020 17 Aug 2020 0 Comments  7255 Views
Here Mudassar Ahmed Khan has explained with an example, how to submit (post) a Form and send data from Razor Page to POST Handler method in ASP.Net Core.

This article will explain how to create Form Fields and then send data from Razor Page to POST Handler method using Model class in ASP.Net Core.
30 Jun 2020 30 Jun 2020 0 Comments  2229 Views
Here Mudassar Ahmed Khan has explained with an example, how to pass (send) Array from JavaScript function to Code Behind (Server Side) function in ASP.Net using C# and VB.Net.

The JavaScript Array will be converted into a Comma Separated string and then saved in a HiddenField and then will be sent to Code Behind (Server Side) function through PostBack (Form Submission) in ASP.Net using C# and VB.Net.
Results 1 - 5 of 36