Tech
Forums
Jobs
Books
Events
Interviews
Live
More
Learn
Training
Career
Members
Videos
News
Blogs
Login
Sign Up
Ask Question
3
Reply
How to call action method using ajax in mvc5
Anshuman Sharma
Nov 25 2016 2:21 AM
364
Reply
dear all,
how to call the Action method from the side menu item click using ajax...???
my controller is
public class HomeController : Controller
{
public ActionResult Index()
{
return View();
}
public ActionResult About()
{
ViewBag.Message = "Your application description page.";
return View();
}
public ActionResult Contact()
{
ViewBag.Message = "Your contact page.";
return View();
}
}
and site menu on layout is
Dashboard
Database
Amma Zaan
once we click on any link it should open the respective view in renderbody() without postback.
Upload Source Code
Select only zip and rar file.
Post
Reset
Cancel
Answers (
3
)
Next Recommended Forum
Getting error in LINQ
How can we will RDLC Reporting tools eassy use in mvc 5.0