title: Response.Redirect Same Page RadioButtonList SelectedItem
body: <p>I'm trying to do a job filter for the list of jobs on our website. The filter for the job type is wrapped in an UpdatePanel and the button to apply the filters redirects back to the same page.</p>
  
  <p>This is because I will be using the umbraco.library:RequestQueryString in the XSLT to populate the jobs list.</p>
  
  <p>However, the querystring filter value doesn't seem to select the RadioButtonList. For example:</p>
  
  <p>The page loads, but nothing happens because vt is null:</p>
  
  <pre><code>protected void Page_Load(object sender, EventArgs e)
      {
          string vt = Request.QueryString["vt"];
  
          if (vt != null)
          {
              foreach (ListItem li in rblVacancyType.Items)
              {
                  if (li.Value == vt)
                  {
                      li.Selected = true;
                  }
              }
          }
      }
  
  
      &lt;asp:UpdatePanel ID="upSearchFilters" runat="server"&gt;
                  &lt;ContentTemplate&gt;
                      &lt;p&gt;
                          &lt;asp:RadioButtonList ID="rblVacancyType" runat="server"&gt;
                              &lt;asp:ListItem Text="All" Value="all"&gt;&lt;/asp:ListItem&gt;
                              &lt;asp:ListItem Text="Permanent" Value="permanent"&gt;&lt;/asp:ListItem&gt;
                              &lt;asp:ListItem Text="Temporary" Value="temporary"&gt;&lt;/asp:ListItem&gt;
                          &lt;/asp:RadioButtonList&gt;
                      &lt;/p&gt;
  &lt;/ContentTemplate&gt;
  &lt;/asp:UpdatePanel&gt;
  </code></pre>
  
  <p>Here's the button:</p>
  
  <pre><code>&lt;asp:ImageButton ID="ibFilters" ImageUrl="~/images/buttons/filter-button.png" OnClick="ibApplyFilters_Click" runat="server" /&gt;
  </code></pre>
  
  <p>Here's the procedure:</p>
  
  <pre><code>protected void ibApplyFilters_Click(object sender, EventArgs e)
      {
          Response.Redirect("/careers/join-us/?filters=true&amp;vt=" + rblVacancyType.SelectedValue.ToString());  
      }
  </code></pre>
  
  <p>Yet when the page redirects the first time, nothing is selected, I click permanent, permanent gets selected. If I then select 'All' or 'Temporary' the selection doesn't change.</p>
  
  <p>Any ideas?</p>