DataGrid1.Attributes.Add("onclick","window.open('Print_GoodsMove.aspx?GoodsMove_ID=" + Apply_ID + "','newwindow', 'height=600, width=745, top=100, left=100, toolbar=no, menubar=no, scrollbars=no, resizable=no,location=no, status=no');");
<asp:HyperLinkColumn Text="link" DataNavigateUrlField="id" DataNavigateUrlFormatString="javascript:var win = window.open('SelectMultiPages.aspx?ProductID={0}',null,'width=700,height=200');" ></asp:HyperLinkColumn>