, drop down

CoolDev2014 used Ask the Experts™
how can I make the drop down using get method in code behind?

like i have a dropdown and when someone select something inside, it will use get method and show on url like default.aspx?id=selectedvalue

by the way, I also use ajax toolkit with update panel.
Watch Question

Do more with

Expert Office
EXPERT OFFICE® is a registered trademark of EXPERTS EXCHANGE®
Web Ninja at large
you could just add an onchange attribute to the dropdown and set the url there:

<asp:DropDownList ID="ddl" runat="server"
  onchange="document.location.href = 'default.asp?id=this.value;" >

Do more with

Expert Office
Submit tech questions to Ask the Experts™ at any time to receive solutions, advice, and new ideas from leading industry professionals.

Start 7-Day Free Trial