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();
}
}
{
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
once we click on any link it should open the respective view in renderbody() without postback.

Manas MohapatraRank #182 · 13.2K reputationPosted Nov 25, 2016, 12:27 AM EST
Munesh SharmaRank #174 · 13.9K reputationPosted Nov 24, 2016, 11:17 PM EST
Dilip GuptaRank #2,085 · 690 reputationPosted Nov 25, 2016, 12:18 AM EST