hello dear,

i m developing a Web Based application.in that when i select a customer name from a dropdown list in web page
'Quoattion.aspx'. at that time i'll open a web page 'customerDetail.aspx' in a dialog window by using

showModalDialog('customerDetail.aspx','','').

now depends upon data present on dialog window ,we have two options (two buttons). first if we want to continue to this

Quotation then this dialog window will be closed (by pressing one button) and we continue with previous page 'quotation.aspx'

in prevoius window. second option is that if we want to block this quotation then first of all the dialog window will closed

and then the web page open in previous window will be refreshed and new blank interface ie web page 'Quotation.aspx' will be

reloaded in current window (by pressing second button).


now my problem is that. i m able to close the dialog window (by using self.close() on one button) but i m not able to reload

the web page 'quotation.aspx' in main window when i close the dialog window.

so plz tell how i'll perform two operations on click of one button in JavaScript.
(1) close the dialog window
(2) reload the web page in current main window.

waiting for ur reply......

Ankush