I use a Popup form to add data. In the popup controller I make a call to update the database.
When I leave the popup form, I want the underlying form to referesh.
So I was please to see a refreshOnSuccess attribute and I decided to set that to true;
<%: Html.MakePopupForm<SHP.Controllers.LeaveController>(o => o.SingleDate(Model.EmployeeId), refreshOnSuccess: true)%>
However what happens is that I get a popup message from the browser asking me to resend the form.
So how do I stop that from happening? I just want the page to refresh without that.