I am downloading a file using the code
btnDownloadTemplate.Attributes.Add( "onClick", "window.open('StudyReport/WordReportTemplate.doc', 'OpenTemplate', 'resizable=no,scrollbars=no,toolbar=no,directories=no,status=no,menubar=no,copyhistory=no');return false;" );
This will show a popup and the download dialog is shown. How can I avoid the popup and only the download dialog is on the screen?