I am creating a custom button in ribbon bar for share point 2010. For the button I have mentioned some code in JavaScript. When the custom ribbon button is clicked I have made to open a show model dialog box and inside the model dialog box I have displayed a aspx page which contain buttons. My requirement is if I click the button in aspx page I want to close the show dialog box.
Can anyone guide me for this situation
This is my code snippet for the custom button click .
url: '/_layouts/FileUpload/Application.aspx',
allowMaximize: false,
showClose: true,
width: 620,
height: 208,
};
SP.UI.ModalDialog.showModalDialog(options);"/>
Regards, Zakeer Ahamed.S