0

I am unable to open the page in a new window when i click on the image button
CAn u tell me how to make the current page open in new window

<ItemTemplate>
<asp:ImageButton runat="server" ID="ImgPreviewBtn" Height="18px" Width="18px" OnCommand="onSelectAttachment"  CommandName="Preview"
 CommandArgument='<%#Eval("QUOTATION_CODE") +","+ Eval("SUPPLIER") %>' ImageUrl="~/images/preview.gif" CausesValidation="false"></asp:ImageButton>
</ItemTemplate>
if (e.CommandName == "Preview")
        {

            string value = e.CommandArgument.ToString();
            string[] arInfo = new string[4];
            char[] splitter = { ',' };
            arInfo = value.Split(splitter);
            Session["RFQCODE"] = lblReqNo.Text;
            Session["QTCODE"] = arInfo[0].ToString();
            Session["SUPLCODE"] = arInfo[1].ToString();
            // Session["VESSELCODE"] = lblVessel.tex;

            ResponseHelper.Redirect("POPreview.aspx?RFQCODE='" + lblReqNo.Text + "'", "_Blank", "");

            //Response.Redirect("POPreview.aspx");
        }
3
Contributors
2
Replies
3
Views
7 Years
Discussion Span
Last Post by dnanetwork
This topic has been dead for over six months. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.