title: alert box from asp.net 3.5 Code-Behind
body: <pre><code>protected void ddlLanguage_SelectedIndexChanged(object sender, EventArgs e)
  {           
      if (ddlLanguage.SelectedValue=="es-ES")
      {
          Page page = HttpContext.Current.CurrentHandler as Page;
  
          page.ClientScript.RegisterStartupScript(typeof(Page), "Script", "&lt;script language='javascript'&gt;alert('All content may not be in Spanish. Do you want to continue...');&lt;/script&gt;");            
      }
  }
  </code></pre>
  
  <p>All I want to do is display a simple alert box but all in vain...nothing pops-up. need some ayudar.</p>