Posted on: 11/9/2014 1:17:24 PM | Views : 421

Hi
I am facing difficulty with my dropdownlist and label, as i want the user if he didnt select a country then the label show a message otherwise redirect him. But what is happening is it not redirect the user to the Berava.aspx it stay in the same page it just refresh the current page

protected void Moveto_Click(object sender, ImageClickEventArgs e) { if (worlddrdolist.SelectedValue != null) { selctcountlbl.Text = "Please Select your Country"; } else { HttpCookie cookie = Request.Cookies.Get("Location"); if (CheckBox1.Checked) { HttpCookie _countryCookies = new HttpCookie("countryCookies"); _countryCookies["countryCookies"] = worlddrdolist.SelectedValue.ToString(); _countryCookies.E ...

Go to the complete details ...