hi, I have a simple List view in MVC that renders some products. As soon as 1 product is selected I open a JQuery modal popup in this way:
function showDetails(id) {
hostId = id;
$("#detailDialog").load('/Product/Details/' + hostId);
$("#detailDialog").dialog("open");
}
The modal popup correctly loads the partial view with the details. As soon as I press submit in the view, the view returns the result (ActionResult) in a brand new page completely white with only the content of the view. How I can keep everything inside the popup? I need to do that because if the form has some invalid characters, I want to reshow in the popup the view with the validation errors.