Category - AJAX
Results 41 - 60 of 398
21 Aug 2021 25 Apr 2022 0 Comments  3914 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  4956 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  2572 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  5545 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  4140 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  2453 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  9976 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  16152 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  8312 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  8581 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  3520 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  6256 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.
26 May 2021 26 May 2021 0 Comments  5202 Views
Here Mudassar Ahmed Khan has explained with an example, how to use LIKE operator in Entity Framework.

This article will illustrate with an ASP.Net MVC Web Application, how to perform LIKE operator operation in Entity Framework with the help of LINQ Contains function.
24 May 2021 24 May 2021 0 Comments  8524 Views
Here Mudassar Ahmed Khan has explained with an example, how to implement Search functionality using jQuery AJAX in ASP.Net MVC Razor.

The jQuery AJAX function will call Controller’s Action method which will search the SQL Server Database Table using Entity Framework and return the results in JSON format in ASP.Net MVC Razor.
19 May 2021 19 May 2021 0 Comments  2857 Views
Here Mudassar Ahmed Khan has explained with an example, how to implement HttpHandler (ASHX) in ASP.Net MVC Razor.

The HttpHandler (ASHX) will fetch data from SQL Server database using Entity Framework and return data in JSON format.

The HttpHandler (ASHX) will be called using a jQuery Client which will read the JSON values and populate it into an HTML Table in ASP.Net MVC Razor.
06 May 2021 06 May 2021 0 Comments  12538 Views
Here Mudassar Ahmed Khan has explained with an example, how to return Exception Error Message when using JSON and AJAX in ASP.Net MVC Razor.

This article will illustrate how to return the Exception Error Message using JSON from the Controller when calling the Controller using jQuery AJAX in ASP.Net MVC Razor.
30 Apr 2021 30 Apr 2021 0 Comments  6203 Views
ASP.Net  AJAX  jQuery  MVC
Here Mudassar Ahmed Khan has explained with an example, how to create a VOID ActionResult (Action Method) i.e. an ActionResult (Action Method) inside Controller that does not return View in ASP.Net MVC Razor.

There is nothing like a VOID ActionResult (Action Method), hence ASP.Net MVC has created a class EmptyResult whose object is returned in case when NULL value or Nothing needs to be returned from Controller to View in ASP.Net MVC Razor.
30 Apr 2021 30 Apr 2021 0 Comments  9591 Views
ASP.Net  AJAX  jQuery  MVC
Here Mudassar Ahmed Khan has explained with an example, how to return NULL (Nothing) from ActionResult (Action Method) in ASP.Net MVC Razor.

There are two ways to return NULL from an ActionResult (Action Method):
1. Using EmptyResult class. In order to learn more about EmptyResult class, please refer my article ASP.Net MVC EmptyResult Example: Return NULL (Nothing) from Controller to View.
2. Simply return NULL value. In such case, ASP.Net automatically returns EmptyResult class object internally.
30 Apr 2021 30 Apr 2021 0 Comments  7423 Views
Here Mudassar Ahmed Khan has explained with an example, how to delete data from Database using jQuery AJAX and Entity Framework in ASP.Net MVC Razor.

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

Finally, a Customer object is sent to the View which indicates that the record was successfully deleted or not.
30 Apr 2021 30 Apr 2021 0 Comments  4131 Views
ASP.Net  AJAX  jQuery  MVC
Here Mudassar Ahmed Khan has explained with an example, how to use EmptyResult in ASP.Net MVC Razor.

EmptyResult is a class in ASP.Net MVC whose object is returned in case when NULL value or Nothing needs to be returned from Controller to View in ASP.Net MVC Razor.
Results 41 - 60 of 398