Sunday 3 March 2019

target = '_blank' asp.net button click code behind.

        Context.Response.Write("<script language='javascript'>window.open('LedgerLessPDF.aspx?cid=" & New Encription().DecryptTripleDES(Request.Cookies("CompID").Value, "*n3x@") & "&ACCID=" & ddlBankHead.SelectedValue & "&F=" & txtFromDate.Text & "&T=" & txtTodate.Text & "','_newtab');</script>")