Make a jQuery ajax call like this:
$.ajax({ url: /myController/Popup, type: 'GET', data: id, success: function (result) { $("#myTag").html(result); } });
Then in the controller, just return a partial view, something like this:
public ActionResult Popup(int id) { myViewModel = .... . return PartialView("MyPartialView", myViewModel); }
This partial view will be added to myTag.
source share