Category - AJAX
Results 1 - 20 of 363
19 Jan 2022 19 Jan 2022 0 Comments  370 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  391 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  795 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  798 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  2203 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  2197 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  6655 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  1259 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 21 Aug 2021 0 Comments  2333 Views
ASP.Net  AJAX  AngularJS  MVC  Core
Here Mudassar Ahmed Khan has explained with an example, how to send AntiForgeryToken with AngularJS AJAX request in ASP.Net CoreMVC.

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  3053 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  1802 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  2184 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  2765 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  1260 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  5484 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.
27 May 2021 27 May 2021 1 Comments  9529 Views
Here Mudassar Ahmed Khan has explained with an example, how to create Searchable DropDownList 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.
27 May 2021 27 May 2021 0 Comments  5090 Views
Here Mudassar Ahmed Khan has explained with an example, how to implement AutoComplete DropDownList using AJAX in ASP.Net with C# and VB.Net.

This article will illustrate use of ASP.Net AJAX AutoCompleteExtender populated from SQL Server Database in ASP.Net with C# and VB.Net.
27 May 2021 27 May 2021 0 Comments  4887 Views
Here Mudassar Ahmed Khan has explained with an example, how to bind JSON data to View in ASP.Net MVC Razor.

The article will illustrate, how to fetch data from SQL Server Database using Entity Framework, then send it from Controller to View in JSON format and finally bind the JSON data to HTML Table and populate it in ASP.Net MVC Razor.
26 May 2021 26 May 2021 0 Comments  2255 Views
Here Mudassar Ahmed Khan has explained with an example, how to filter Grid using TextBox in ASP.Net MVC Razor.

When the User types in the TextBox, the Grid will be filtered with the help of jQuery AJAX in ASP.Net MVC Razor.
26 May 2021 26 May 2021 0 Comments  3023 Views
Here Mudassar Ahmed Khan has explained with an example, how to implement search as you type in ASP.Net MVC Razor.

Search as you type means, the records in the Grid will be filtered as user types in the TextBox with the help of jQuery AJAX in ASP.Net MVC Razor.
Results 1 - 20 of 363