troubleshooting Question

Filter dataset using multiple dropdown lists ASP.net (VB)

Avatar of Rineau
RineauFlag for Netherlands asked on
ASP.NET
8 Comments1 Solution768 ViewsLast Modified:
I need to filter a dataset using three dropdown menus. I used to do this with a classic dropdown menu/jumpmenu like this:

<form action="<%# Request.ServerVariables("SCRIPT_NAME") %>" method="get">
<select name="jm_niveau" class="c_filter" onchange="jumpMenu('parent',this,0)">
<option selected="selected">niveau...</option>
<option value="<%# Request.ServerVariables("SCRIPT_NAME") %>?categorie=<%# Request.QueryString("categorie") %>&amp;subcategorie=<%# Request.QueryString("subcategorie") %>&amp;niveau=&amp;doelgroep=<%# Request.QueryString("doelgroep") %>&amp;cursus_type=<%# Request.QueryString("cursus_type") %>">alle niveaus</option>
<option value="<%# Request.ServerVariables("SCRIPT_NAME") %>?categorie=<%# Request.QueryString("categorie") %>&amp;subcategorie=<%# Request.QueryString("subcategorie") %>&amp;niveau=beginners&amp;doelgroep=<%# Request.QueryString("doelgroep") %>&amp;cursus_type=<%# Request.QueryString("cursus_type") %>">beginners</option>
<option value="<%# Request.ServerVariables("SCRIPT_NAME") %>?categorie=<%# Request.QueryString("categorie") %>&amp;subcategorie=<%# Request.QueryString("subcategorie") %>&amp;niveau=gevorderden&amp;doelgroep=<%# Request.QueryString("doelgroep") %>&amp;cursus_type=<%# Request.QueryString("cursus_type") %>">gevorderden</option>
</select>

etc... etc...

This option seems to have a few downsides to it, so I wonder if anyone can come up with a hint for an asp.net solution.

Thanks in advance!
Join the community to see this answer!
Join our exclusive community to see this answer & millions of others.
Unlock 1 Answer and 8 Comments.
Join the Community
Learn from the best

Network and collaborate with thousands of CTOs, CISOs, and IT Pros rooting for you and your success.

Andrew Hancock - VMware vExpert
See if this solution works for you by signing up for a 7 day free trial.
Unlock 1 Answer and 8 Comments.
Try for 7 days

”The time we save is the biggest benefit of E-E to our team. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange.

-Mike Kapnisakis, Warner Bros