Category - jQuery
Results 31 - 35 of 738
28 Apr 2021 28 Apr 2021 0 Comments  2542 Views
Here Mudassar Ahmed Khan has explained with an example, how to save Form data to Database using jQuery AJAX in ASP.Net MVC Razor.

When the Add Button is clicked, the InsertCustomer Action method is called using jQuery AJAX and the details of Customer are sent as JSON object.

Finally, after insertion the ID of the inserted Customer record is returned back to the View in ASP.Net MVC Razor.
19 Feb 2021 19 Feb 2021 0 Comments  1922 Views
Here Mudassar Ahmed Khan has explained with an example, how to use jQuery Unobtrusive AJAX helpers in ASP.Net Core.

The POST method of the Razor Page will be called using jQuery Unobtrusive AJAX library in ASP.Net Core.
19 Feb 2021 29 Apr 2021 0 Comments  2389 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 Feb 2021 19 Feb 2021 0 Comments  1734 Views
Here Mudassar Ahmed Khan has explained with an example, how to implement and use AJAX in ASP.Net Core 2.1 Razor Pages.

This article will illustrate how to use jQuery for performing AJAX operations in ASP.Net Core 2.1 Razor Pages.
29 Jan 2021 29 Jan 2021 0 Comments  2077 Views
Here Mudassar Ahmed Khan has explained with an example, how to use AntiForgeryToken with jQuery Unobtrusive AJAX in ASP.Net Core Razor Pages.

The jQuery Unobtrusive AJAX library does not support adding headers to the request and hence it is not possible to send AntiForgeryToken.

Thus, the possible way is to make use of normal jQuery AJAX function and then send the AntiForgeryToken by adding it to the request headers.
Results 31 - 35 of 738