With jQuery, is it possible to call /ControllerName/GetSomething?parameter=test, while in GetSomething method I have following:
public ActionResult Details()
{
filterQuery.OrderBy = Request.QueryString["parameter"];
var contacts = contactRepository.FindAllContacts(filterQuery).ToList();
return View("ContactList");
}
and then fadeOut current display of ContactList.ascx replacing it with updated one?
There is a PartialViewResult return type:
Then return a PartialView
In jQuery, use the load() method to retrieve the results using AJAX and then use some combination of the jQuery fadeIn(), fadeOut(), and fadeTo() methods.