我想在按钮单击事件中打开页面新选项卡。这是我的代码:
<asp:ImageButton ID="imgPropertyImage" CommandArgument='<%#Eval("pro_id") %>'
runat="server" Height="90px" Width="130px" CssClass="imgborder"
ImageUrl='<%#Eval("display_photo") %>' OnCommand="imgPropertyImage_Command"
BorderColor="#00CCCC" AlternateText="" onclick="imgPropertyImage_Click" />
protected void imgPropertyImage_Click(object sender, ImageClickEventArgs e)
{
ImageButton img = sender as ImageButton;
Session["Pro-ID"] = img.CommandArgument;
Response.Redirect("PropertyDetails.aspx");
}