Category - AJAX
Results 61 - 80 of 431
04 Feb 2022 04 Feb 2022 0 Comments  8663 Views
Here Mudassar Khan has explained with an example, how to show selected Row details in Bootstrap Modal Popup in ASP.Net MVC Razor.
03 Feb 2022 03 Feb 2022 0 Comments  24510 Views
Here Mudassar Khan has explained with an example, how to render Partial View inside Bootstrap Modal Popup in ASP.Net MVC Razor.

The Partial View will be populated and fetched using jQuery AJAX and finally it will be rendered as HTML inside Bootstrap Modal Popup in ASP.Net MVC Razor.
02 Feb 2022 02 Feb 2022 0 Comments  8185 Views
Here Mudassar Khan has explained how to solve the problem: This request has been blocked because sensitive information could be disclosed to third party web sites when this is used in a GET request. To allow GET requests, set JsonRequestBehavior to AllowGet in ASP.Net MVC Razor.
02 Feb 2022 02 Feb 2022 0 Comments  17530 Views
ASP.Net  Excel  AJAX  jQuery  MVC  Word  PDF
Here Mudassar Khan has explained with an example, how to download File using jQuery AJAX in ASP.Net MVC Razor.

This article will illustrate how to download File from Folder (Directory) using jQuery AJAX in ASP.Net MVC Razor.
01 Feb 2022 01 Feb 2022 0 Comments  7934 Views
ASP.Net  AJAX  jQuery  JSON  MVC
Here Mudassar Khan has explained with an example, how to call Controller with GET call using jQuery AJAX in ASP.Net MVC.
19 Jan 2022 19 Jan 2022 0 Comments  8917 Views
Here Mudassar Khan has explained with an example, how to get Session value in JavaScript or jQuery in ASP.Net Core MVC.

JavaScript is a Client Side language and hence directly it is not possible to get Session value in JavaScript.

Thus, the solution is to make an AJAX call using jQuery AJAX function and pass the value of JavaScript variable to a Controller and inside the Controller the value is retrieved from Session object in ASP.Net Core MVC.
14 Jan 2022 14 Jan 2022 0 Comments  11974 Views
ASP.Net  AJAX  jQuery  JSON  MVC  Core
Here Mudassar Khan has explained how to solve the problem: jQuery AJAX call parameters passed NULL to Controller in ASP.Net Core.

This article will explain the possible causes of parameters being passed as NULL and also explain the correct approach to perform jQuery AJAX call in ASP.Net Core MVC.
27 Dec 2021 27 Dec 2021 0 Comments  5862 Views
ASP.Net  AJAX  jQuery  MVC  Web API  Email  Gmail
Here Mudassar Khan has explained with an example, how to send email using jQuery AJAX in ASP.Net MVC Razor.

The jQuery AJAX function will call a Web API Action method which will send email using Gmail SMTP Mail Server in ASP.Net MVC Razor.

Once the Email is sent, a Confirmation will be sent back to the jQuery AJAX function which in turn will be display a Success message using JavaScript Alert Message Box.
24 Dec 2021 24 Dec 2021 0 Comments  6307 Views
ASP.Net  AJAX  jQuery  MVC  Web API  Email  Gmail
Here Mudassar Khan has explained with an example, how to send Email using Web API and jQuery AJAX in ASP.Net MVC Razor.

When the Send Button is clicked, the SendEmail Action method of the Web API is called using jQuery AJAX and the Email is sent.
28 Oct 2021 28 Oct 2021 0 Comments  10327 Views
Here Mudassar Ahmed Khan has explained with an example, how to get HttpContext.Current.Session value in JavaScript or jQuery with ASP.Net.

Session object or Session variable is stored on Server and hence in order to get its value in JavaScript or jQuery, an AJAX call will be done to the Server Side method in ASP.Net using C# and VB.Net.
28 Oct 2021 28 Oct 2021 0 Comments  8841 Views
Here Mudassar Ahmed Khan has explained with an example, how to get Session value in JavaScript in ASP.Net MVC Razor.

JavaScript is a Client Side language and hence directly it is not possible to get Session value in JavaScript.

Thus, the solution is to make an AJAX call using jQuery AJAX function and pass the value of JavaScript variable to a Controller and inside the Controller the value is retrieved from Session object in ASP.Net MVC Razor.
24 Sep 2021 24 Sep 2021 0 Comments  42418 Views
Here Mudassar Ahmed Khan has explained with an example, how to save BLOB (Binary Data) as PDF file using JavaScript.

The PDF file will be downloaded as BLOB (Binary Data) using XmlHttpRequest AJAX call and then will be sent for download in the Browser using JavaScript.
24 Sep 2021 24 Sep 2021 0 Comments  12470 Views
Here Mudassar Ahmed Khan has explained with an example, how to save BLOB (Binary Data) as file using JavaScript.

The BLOB (Binary Data) sent from Server will be received using XmlHttpRequest AJAX call and then will be sent for download in the Browser using JavaScript.
21 Aug 2021 25 Apr 2022 0 Comments  6370 Views
ASP.Net  AJAX  AngularJS  MVC  Core
Here Mudassar Khan has explained with an example, how to send AntiForgeryToken with AngularJS AJAX request in ASP.Net Core MVC.

The AntiForgeryToken is used to prevent cross-site request forgery (CSRF) attacks and this article will illustrate how to configure and use the AntiForgeryToken during AngularJS AJAX request in ASP.Net Core MVC.
13 Aug 2021 13 Aug 2021 0 Comments  8241 Views
Here Mudassar Ahmed Khan has explained with an example, how to call (consume) Web API 2 using JavaScript XmlHttpRequest (XHR) and AJAX in ASP.Net Core MVC.

This article will explain how to make a POST call to Web API 2 Controller’s method using JavaScript XmlHttpRequest (XHR) and AJAX in ASP.Net Core MVC.
13 Aug 2021 13 Aug 2021 0 Comments  3909 Views
Here Mudassar Ahmed Khan has explained with an example, how to call (consume) Web API 2 using JavaScript XmlHttpRequest (XHR) and AJAX in ASP.Net MVC Razor.

This article will explain how to make a POST call to Web API 2 Controller’s method using JavaScript XmlHttpRequest (XHR) and AJAX in ASP.Net MVC Razor.
12 Aug 2021 12 Aug 2021 0 Comments  12152 Views
Here Mudassar Ahmed Khan has explained with an example, how to call (consume) Web API using jQuery AJAX in ASP.Net Core MVC.

This article will explain how to make a jQuery POST call to Web API Controller’s method using jQuery AJAX in ASP.Net Core MVC.
12 Aug 2021 12 Aug 2021 0 Comments  7269 Views
Here Mudassar Ahmed Khan has explained a step by step tutorial with an example for beginners, how to build a simple Web API in ASP.Net Core MVC.

This article will explain how to make a jQuery POST call to Web API using jQuery AJAX in ASP.Net Core MVC.
29 Jul 2021 29 Jul 2021 0 Comments  4928 Views
ASP.Net  AJAX  JSON  AngularJS  MVC  Core
Here Mudassar Ahmed Khan has explained with an example, how to use AngularJS, AJAX and JSON in ASP.Net Core MVC.

This article will illustrate how to call Controller’s Action method using AngularJS $http service from View in ASP.Net Core MVC.
27 May 2021 27 May 2021 0 Comments  18874 Views
Here Mudassar Ahmed Khan has explained with an example, how to create DropDownList with TextBox that allows user to type in ASP.Net using C# and VB.Net.

This article will illustrate use of ASP.Net AJAX ComboBoxExtender populated from SQL Server Database in ASP.Net with C# and VB.Net.
Results 61 - 80 of 431