I have opened up a page in a modal dialog by using
The page contains a button. Clicking on the button should cause the modal dialog to close, perform some server side action and redirect to the previous page with some parameter added (this is because I want to display a label revealing if the server side action was successful). I know that I can close the modal dialog from code behind using
but don´t know how to combine it with redirect functionality. I also observed that parameters are not added to the url.