1.

How we can invoke child actions in ASP.Net MVC?

Answer»

"ChildActionOnly" attribute is decorated over action methods to indicate that action method is a child action. Below is the code snippet used to denote the child action :

[ChildActionOnly]public ActionResult MenuBar(){//Logic herereturn PartialView();}


Discussion

No Comment Found