ScriptManager.RegisterStartupScript(this, typeof(string), "OPEN_WINDOW", "var Mleft = (screen.width/2)-(760/2);var Mtop = (screen.height/2)-(700/2);window.open( 'Reports/Smt_StyleWiseReportWindow.aspx?', null, 'height=700,width=760,status=yes,toolbar=no,scrollbars=yes,menubar=no,location=no,top=\'+Mtop+\', left=\'+Mleft+\'' );", true);
<a href="Default.aspx" target="_blank">Home</a>
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)