views:

13

answers:

0

Following this writeup, http://haacked.com/archive/2009/01/30/simple-jquery-delete-link-for-asp.net-mvc.aspx, I'm having some difficulties actually getting my page to update after performing a delete with jquery.

The delete works fine - the controller action is called, delete is handled, the object is in fact deleted. At that point the page should update to reflect the now deleted object, but that never happens. The page is a strongly-typed partial view, if that matters (the delete link is in said partial).

I'm wondering if my controller isn't returning something properly. After deleting, I call return PartialView() - is this correct, or should I be returning something else? The site I was reading doesn't really mention it.