I am having a drop down with some values which are binded from Database. When i select a particular option i would to open the corresponding page in new tab i write the following which doesn’t work so can any one help me
protected void ddlAuthoritytype_SelectedIndexChanged(object sender, EventArgs e)
{
string ddl = ddlAuthoritytype.SelectedValue;
switch (ddl)
{
case "AL":
Response.Write("<script>Window.Open('alabama-state-tax-calculator.aspx');</script>");`
}
}
Use this: