private void OpenWindow(String FileName, string WindowName) { String script = @"<script language='javascript'>" + "window.open('" + FileName + "'," + "'width=550,height=400,toolbar=no,location=no,directories=no,status=no,menubar=no, scrollbars=no,resizable=yes,copyhistory=no');" + "</script>"; ClientScript.RegisterStartupScript(this.GetType(), "OpenWindow", script); } protected void AttachDocument_Click(object sender, EventArgs e) { String BidId = Convert.ToString(ViewState["BidId"]); OpenWindow("FileChooser.aspx?value=" + BidId, ""); }
yes
no
0
1
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)