//protected void lnk_Home_Click(object sender, EventArgs e) //{ // Response.Redirect("~/Admin/Admin_Dashboard.aspx"); //} protected void lnk_Home_Click(object sender, EventArgs e) { if (User_Role_Id == "2") { Session["cn_id"] = client_Id.ToString(); Session["s_id"] = Subprocess_id.ToString(); Response.Redirect("~/Tax_Admin_Home.aspx"); } else if (User_Role_Id == "1") { Response.Redirect("~/Tax_Admin_Home.aspx"); } }
protected void LinkMydashboard_Click(object sender, EventArgs e) { Session["cn_id"] = client_Id.ToString(); Session["s_id"] = Subprocess_id.ToString(); if (User_Role_Id == "2") { Response.Redirect("~/Admin/Dashboard.aspx"); } else { Response.Redirect("~/Tax_Admin_Home.aspx"); } }