<script language="JavaScript" type="text/javascript"> function redirect(site){ window.location= site } </script> <select onchange="redirect(this.value)"> <option value="#">Where would you like to go?</option> <option value="http://www.Dotnetfunda.com">Google</option> <option value="http://www.yahoo.com">Yahoo</option> <option value="http://www.google.com">Ask</option> </select>
Thanks and Regards V.SaratChand Show difficulties that how difficult you are
Thanks&Regards:- Shubham Choudhary Software Engineer www.facebook.com/shubham.kunar
<asp:DropDownList ID="ddlTest" runat="server" AutoPostBack="true" onselectedindexchanged="ddlTest_SelectedIndexChanged" > <asp:ListItem Value="M">Mango</asp:ListItem> <asp:ListItem Value="O">Orange</asp:ListItem> <asp:ListItem Value="B">Banana</asp:ListItem> </asp:DropDownList>
protected void ddlTest_SelectedIndexChanged(object sender, EventArgs e) { Response.Redirect("RedirectPage.aspx?" + ddlTest.SelectedValue); }
Best Regards Murali Krishna.S
http://www.aegisisc.com/sharepoint-developers.html
Login to post response