protected void Lbadddie_Click(object sender, EventArgs e) { string url = Request.RawUrl; if (!String.IsNullOrEmpty(url)) { string[] a = url.Split('?'); if (!checkck.Listcookie_like().Contains(_sNewsSeoUrl)) { setck.Addcookie(_sNewsSeoUrl); pro_detail.Adddie(_sNewsSeoUrl); string strScript = "<script>"; strScript += "alert('Cảm ơn bạn đã thông báo');"; strScript += "window.location='" + a[0] + "';"; strScript += "</script>"; Page.RegisterClientScriptBlock("strScript", strScript); } else { string strScript = "<script>"; strScript += "alert('Bạn đã thông báo rồi');"; strScript += "window.location='" + a[0] + "';"; strScript += "</script>"; Page.RegisterClientScriptBlock("strScript", strScript); } } }