Nate Bross
Contributor
I know this is probably a really simple question, but I have an ASP.NET (v2.0) DropDownList and when the user selects a different item, I would like to redirect them to different page baste upon the item they selected.
This is the code I'm using, but for some reason DropDownList1.Text is ALWAYS = "".
Any advice is appreciated.
This is the code I'm using, but for some reason DropDownList1.Text is ALWAYS = "".
Visual Basic:
If Page.IsPostBack() Then
If DropDownList1.Text <> "" Then
Response.Redirect("default.aspx?PageAction=reviews&ShowOnly=" & DropDownList1.Text)
End If
End If
Any advice is appreciated.