Posted on: 10/20/2014 2:09:57 PM | Views : 375

Hi,
I want to open a file from code-behind in new tab on button click from codebehind.Please help. See my code for button click which I tried, it is opening but in new window. I want that to open in new tab with the page to be reloaded again.
protected void btnSend_Click(object sender, EventArgs e) { { if (checkcountry.Checked == true) { if (checkcountry.Checked == true && ddlCountry.SelectedIndex != 0 && ddlCountry.SelectedItem.Text == "India") { ddlCountry2.Visible = true; ddlCountry.Visible = false; selectionID.Visible = false; checkDiv.Visible = false; } else if (checkcountry.Checked == true && ddlCountry.SelectedIndex != 0 && ddlCountry.SelectedItem.Text != "India") { ...

Go to the complete details ...