Category - AJAX
Results 21 - 40 of 398
26 Feb 2022 26 Feb 2022 0 Comments  2208 Views
Here Mudassar Khan has explained with an example, how to call Controller’s Action method with Parameters using JavaScript in ASP.Net MVC.

The Controller’s Action method will be called with Parameters using JavaScript XmlHttpRequest (XHR) and JSON from View in ASP.Net MVC Razor.
26 Feb 2022 26 Feb 2022 0 Comments  2265 Views
Here Mudassar Khan has explained with an example, how to call Controller using JavaScript and AJAX in ASP.Net MVC Razor.

The Controller’s Action method will be called using JavaScript XmlHttpRequest (XHR) and JSON from View in ASP.Net MVC Razor.
22 Feb 2022 22 Feb 2022 0 Comments  3010 Views
Here Mudassar Khan has explained with an example, how to load Partial View using jQuery AJAX in ASP.Net Core Razor Pages.

The Partial View data will be fetched from database using jQuery AJAX and then it will be rendered as HTML in ASP.Net Core Razor Pages.
22 Feb 2022 22 Feb 2022 0 Comments  3776 Views
Here Mudassar Khan has explained with an example, how to load Partial View using jQuery AJAX in ASP.Net Core MVC.

The Partial View data will be fetched from database using jQuery AJAX and then it will be rendered as HTML in ASP.Net Core MVC.
17 Feb 2022 17 Feb 2022 0 Comments  2544 Views
Here Mudassar Khan has explained with an example, how to render Partial View inside jQuery Modal Dialog Popup in ASP.Net Core Razor Pages.

The Partial View will be populated and fetched using jQuery AJAX and finally it will be rendered as HTML inside jQuery Modal Dialog Popup window in ASP.Net Core Razor Pages.
16 Feb 2022 16 Feb 2022 0 Comments  3378 Views
Here Mudassar Khan has explained with an example, how to render Partial View inside Bootstrap Modal Popup in ASP.Net Core Razor Pages.

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 Core Razor Pages.
15 Feb 2022 15 Feb 2022 0 Comments  3249 Views
Here Mudassar Khan has explained with an example, how to render Partial View inside jQuery Modal Dialog Popup in ASP.Net Core MVC.

The Partial View will be populated and fetched using jQuery AJAX and finally it will be rendered as HTML inside jQuery Modal Dialog Popup window in ASP.Net Core MVC.
04 Feb 2022 04 Feb 2022 0 Comments  3749 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  6496 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  3289 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  4513 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  3121 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  3123 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  3642 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  2711 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  2302 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  4702 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  4609 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  17510 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  3660 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.
Results 21 - 40 of 398