protected void btnOpenQuotationCalculation_Click(object sender, EventArgs e) { if (txtQuotationNo.Text != "") { int quotationJobID = 0; int quotationRevisionNo = 0; ProposalUploadController proposalUploadController = new ProposalUploadController(); int[] quoteVals = proposalUploadController.getJobNoAndRevisionNoOfQuotation(txtQuotationNo.Text); quotationJobID = quoteVals[0]; quotationRevisionNo = quoteVals[1]; string url = "http://192.168.10.212:82/quickinfo-allinone/MotorNewBusiness/Reports/MotorQuotationCalculation.aspx?JobID=" + quotationJobID + "&RevisionNo=" + quotationRevisionNo; string s = "window.open('" + url + "', 'popup_window', 'width=600,height=500,left=100,top=100,resizable=yes');"; ClientScript.RegisterStartupScript(this.GetType(), "script", s, true); } }