Skip to content

Commit 6f7082d

Browse files
authored
Update README.md
1 parent 2964163 commit 6f7082d

File tree

1 file changed

+13
-1
lines changed

1 file changed

+13
-1
lines changed

Diff for: README.md

+13-1
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,14 @@
1-
# jquery-ajax-call-with-jsonresult-in-asp-net-mvc
1+
# jQuery AJAX call with JSONResult in ASP.NET MVC
2+
23
This article gives you details about how you can implement jQuery AJAX calls to ASP.NET MVC controller and display JSONResult on view.
4+
5+
On success it displays a JSON string returned by the action method, manipulate it and display product details on View as shown in below image.
6+
7+
![jQuery AJAX call in ASP.NET MVC](http://dotnetmentors.com/Images/jquery-ajax-call-in-asp-net-mvc.png)
8+
9+
## Files
10+
11+
1. **[cshtml View with AJAX Call](https://github.com/geeksarray/jquery-ajax-call-with-jsonresult-in-asp-net-mvc/blob/master/AJAXCalls/AJAXCalls/Views/Home/ShowCategoryProducts.cshtml)** - it makes a AJAX call to Controller and process JSON Result.
12+
1. **[Home Controller](https://github.com/geeksarray/jquery-ajax-call-with-jsonresult-in-asp-net-mvc/blob/master/AJAXCalls/AJAXCalls/Controllers/HomeController.cs)** - has Action Method with name ShowCategoryProducts that returns JSONResult to jQuery AJAX call.
13+
14+
For more detailed steps visit - [jQuery Ajax Call with JSONResult in ASP.NET MVC](https://geeksarray.com/blog/jquery-ajax-call-with-jsonresult-in-asp-net-mvc)

0 commit comments

Comments
 (0)