aspx
<script type="text/javascript">
function check()
{
window.open("test.aspx","_blank", "toolbar=no,resizable=yes,scrollbars=yes");
}
</script>
cs.
ClientScript.RegisterClientScriptBlock(this.GetType(), "a", "alert('test123');", true);
ClientScript.RegisterStartupScript(this.GetType(), "check", "check();", true);