Hello,
I suppose it is a custom web part.
You may add a button to the custom web part and add the query strings on OnClick action like this:
string url = UrlHelper.RawUrl;
url = UrlHelper.RemoveParameterFromUrl(url, "querystring");
if (yourdropdownlist.SelectedValue != "")
{
url = UrlHelper.AddParameterToUrl(url, "querystring", yourdropdownlist.SelectedValue);
}
// Redirect with new query parameters
UrlHelper.Redirect(url);
The API Reference is here:
API ReferenceHow to create a custom web parts:
Developing web partsBest regards,
Helena Grulichova